1
0
mirror of https://github.com/git/git.git synced 2025-04-14 19:05:38 +00:00

Merge branch 'mr/send-email-doc-gmail-2fa'

Give hints to GMail users with two-factor auth enabled that
they need app-specific-password when using send-email.

* mr/send-email-doc-gmail-2fa:
  Documentation: add instructions to help setup gmail 2FA
This commit is contained in:
Junio C Hamano 2016-05-29 18:06:42 -07:00
commit 3a79d4251b

@ -450,6 +450,19 @@ edit ~/.gitconfig to specify your account settings:
smtpUser = yourname@gmail.com
smtpServerPort = 587
If you have multifactor authentication setup on your gmail acocunt, you will
need to generate an app-specific password for use with 'git send-email'. Visit
https://security.google.com/settings/security/apppasswords to setup an
app-specific password. Once setup, you can store it with the credentials
helper:
$ git credential fill
protocol=smtp
host=smtp.gmail.com
username=youname@gmail.com
password=app-password
Once your commits are ready to be sent to the mailing list, run the
following commands: