git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Documentation: add instructions to help setup gmail 2FA

From
Mike Rappazzo <rappazzo@gmail.com>
Date
May 27, 2016, 21:17 UTC
Message-ID
<CANoM8SV6=Fita3a4y7c51OKmhD-r9ASjxMJWcwm=N2HD1Pd3fQ@mail.gmail.com>
In-Reply-To
<xmqqpos7p5vy.fsf@gitster.mtv.corp.google.com>
On Fri, May 27, 2016 at 5:06 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 11 quoted lines
> Michael Rappazzo <rappazzo@gmail.com> writes:
>
>> 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.
>
Signed-off-by: Michael Rappazzo <rappazzo@gmail.com>
Show 26 quoted lines
>>  Documentation/git-send-email.txt | 13 +++++++++++++
>>  1 file changed, 13 insertions(+)
>>
>> 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 = 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:
Previous: Junio C Hamano
Message 3 of 3 in “Documentation: add instructions to help setup gmail 2FA”
  1. Documentation: add instructions to help setup gmail 2FAMichael Rappazzo, May 27, 2016
  2. Junio C HamanoMay 27, 2016
  3. Mike RappazzoMay 27, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.