Skip to content

Commit f8fbcd6

Browse files
committed
Merge branch 'mn/send-email-credential-doc'
Doc update. * mn/send-email-credential-doc: send-email: simplify Gmail example in the documentation
2 parents f2d5e07 + 4855f06 commit f8fbcd6

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

Documentation/git-send-email.txt

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -473,16 +473,7 @@ edit ~/.gitconfig to specify your account settings:
473473

474474
If you have multifactor authentication setup on your gmail account, you will
475475
need to generate an app-specific password for use with 'git send-email'. Visit
476-
https://security.google.com/settings/security/apppasswords to setup an
477-
app-specific password. Once setup, you can store it with the credentials
478-
helper:
479-
480-
$ git credential fill
481-
protocol=smtp
482-
host=smtp.gmail.com
483-
484-
password=app-password
485-
476+
https://security.google.com/settings/security/apppasswords to create it.
486477

487478
Once your commits are ready to be sent to the mailing list, run the
488479
following commands:
@@ -491,6 +482,11 @@ following commands:
491482
$ edit outgoing/0000-*
492483
$ git send-email outgoing/*
493484

485+
The first time you run it, you will be prompted for your credentials. Enter the
486+
app-specific or your regular password as appropriate. If you have credential
487+
helper configured (see linkgit:git-credential[1]), the password will be saved in
488+
the credential store so you won't have to type it the next time.
489+
494490
Note: the following perl modules are required
495491
Net::SMTP::SSL, MIME::Base64 and Authen::SASL
496492

0 commit comments

Comments
 (0)