Documentation: add instructions to help setup gmail 2FA
For those who use two-factor authentication with gmail, git-send-email will not work unless it is setup with an app-specific password. The example for setting up git-send-email for use with gmail will now include information on generating and storing the app-specific password. Signed-off-by: Michael Rappazzo <rappazzo@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Michael Rappazzo committed
May 27, 2016 at 16:39 UTC
66409881238702fa6351e655f6aec8675c4b346f
1 file changed
+13
Documentation/git-send-email.txt
+13
@@ -450,6 +450,19 @@ edit ~/.gitconfig to specify your account settings:
450
smtpUser = yourname@gmail.com
451
smtpServerPort = 587
452
453
+If you have multifactor authentication setup on your gmail acocunt, you will
454
+need to generate an app-specific password for use with 'git send-email'. Visit
455
+https://security.google.com/settings/security/apppasswords to setup an
456
+app-specific password. Once setup, you can store it with the credentials
457
+helper:
458
+
459
+ $ git credential fill
460
+ protocol=smtp
461
+ host=smtp.gmail.com
462
+ username=youname@gmail.com
463
+ password=app-password
464
+
465
+
466
Once your commits are ready to be sent to the mailing list, run the
467
following commands:
468