Documentation: add instructions to help setup gmail 2FA
PATCH 1/1 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.
--- Documentation/git-send-email.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+)
Documentation/git-send-email.txt +13 -0
@@ -450,6 +450,19 @@ edit ~/.gitconfig to specify your account settings: smtpUser = [email protected] 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 + [email protected] + password=app-password + + Once your commits are ready to be sent to the mailing list, run the following commands:
Signature · 1 line
2.8.0
Quoted 5 lines · Michael Rappazzo
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.
---
Sounds good. We'd need your sign-off in order to be able to use this patch, though.
Quoted 26 lines
Documentation/git-send-email.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+)Documentation/git-send-email.txt +13
-0@@ -450,6 +450,19 @@ edit ~/.gitconfig to specify your account settings: smtpUser = [email protected] 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 + [email protected] + password=app-password + + Once your commits are ready to be sent to the mailing list, run the following commands:
Quoted 11 lines · Junio C Hamano
Quoted 5 lines · Michael Rappazzo
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.
---Sounds good. We'd need your sign-off in order to be able to use this patch, though.
Quoted 26 lines
Quoted 26 lines
Documentation/git-send-email.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+)Documentation/git-send-email.txt +13
-0@@ -450,6 +450,19 @@ edit ~/.gitconfig to specify your account settings: smtpUser = [email protected] 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 + [email protected] + password=app-password + + Once your commits are ready to be sent to the mailing list, run the following commands: