summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-04-25 13:28:57 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-25 13:28:57 +0900
commitf8fbcd6e01d8e31fb1c7093679538df79b79d90e (patch)
tree37b9cd0789f97a73f437c855ce2d45ee6a7a74e1 /Documentation
parentMerge branch 'ak/bisect-doc-typofix' (diff)
parentsend-email: simplify Gmail example in the documentation (diff)
downloadtgif-f8fbcd6e01d8e31fb1c7093679538df79b79d90e.tar.xz
Merge branch 'mn/send-email-credential-doc'
Doc update. * mn/send-email-credential-doc: send-email: simplify Gmail example in the documentation
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-send-email.txt16
1 files changed, 6 insertions, 10 deletions
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 71ef97ba9b..af07840b4f 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -473,16 +473,7 @@ edit ~/.gitconfig to specify your account settings:
If you have multifactor authentication setup on your gmail account, 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
-
+https://security.google.com/settings/security/apppasswords to create it.
Once your commits are ready to be sent to the mailing list, run the
following commands:
@@ -491,6 +482,11 @@ following commands:
$ edit outgoing/0000-*
$ git send-email outgoing/*
+The first time you run it, you will be prompted for your credentials. Enter the
+app-specific or your regular password as appropriate. If you have credential
+helper configured (see linkgit:git-credential[1]), the password will be saved in
+the credential store so you won't have to type it the next time.
+
Note: the following perl modules are required
Net::SMTP::SSL, MIME::Base64 and Authen::SASL