Skip to content

Commit 6640988

Browse files
rappazzogitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7777322 commit 6640988

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)