Merge branch 'ak/t0008-ksh88-workaround'
[gitweb.git] / Documentation / git-send-email.txt
index 771a7b5b09157cc1ac19d1f998600f96f1f9a470..edbba3a2ef4ca25827b3a22e7ab2effb50c92165 100644 (file)
@@ -450,6 +450,19 @@ edit ~/.gitconfig to specify your account settings:
                smtpUser = yourname@gmail.com
                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
+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
+
+
 Once your commits are ready to be sent to the mailing list, run the
 following commands: