Skip to content

Commit 3a79d42

Browse files
committed
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
2 parents 07ffe87 + 6640988 commit 3a79d42

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Documentation/git-send-email.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,19 @@ edit ~/.gitconfig to specify your account settings:
450450
smtpUser = [email protected]
451451
smtpServerPort = 587
452452

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+
463+
password=app-password
464+
465+
453466
Once your commits are ready to be sent to the mailing list, run the
454467
following commands:
455468

0 commit comments

Comments
 (0)