path: root/Documentation/git-send-email.txt
diff options
authorMichael Rappazzo <>2016-05-27 20:39:57 (GMT)
committerJunio C Hamano <>2016-05-27 21:49:02 (GMT)
commit66409881238702fa6351e655f6aec8675c4b346f (patch)
tree6f459d690337eda38d1afece311ec46a3fdbe0ea /Documentation/git-send-email.txt
parent7777322816a31edff4fb9f429847d11f8974f264 (diff)
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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-send-email.txt')
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 771a7b5..edbba3a 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -450,6 +450,19 @@ edit ~/.gitconfig to specify your account settings:
smtpUser =
smtpServerPort = 587
+If you have multifactor authentication setup on your gmail acocunt, you will
+need to generate an app-specific password for use with 'git send-email'. Visit
+ to setup an
+app-specific password. Once setup, you can store it with the credentials
+ $ git credential fill
+ protocol=smtp
+ password=app-password
Once your commits are ready to be sent to the mailing list, run the
following commands: