You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h2id="_examples_of_smtp_servers">EXAMPLES OF SMTP SERVERS</h2>
1277
1277
<divclass="sectionbody">
1278
1278
<divclass="sect2">
1279
-
<h3id="_use_gmail_as_the_smtp_server">Use gmail as the smtp server</h3>
1279
+
<h3id="_use_gmail_as_the_smtp_server">Use Gmail as the SMTP Server</h3>
1280
1280
<divclass="paragraph">
1281
-
<p>To use <em>gitsend-email</em> to send your patches through the GMail SMTP server,
1282
-
edit ~/.gitconfig to specify your account settings:</p>
1281
+
<p>To use <code>git</code><code>send-email</code> to send your patches through the Gmail SMTP server,
1282
+
edit <code>~/.gitconfig</code> to specify your account settings:</p>
1283
1283
</div>
1284
1284
<divclass="listingblock">
1285
1285
<divclass="content">
@@ -1296,6 +1296,51 @@ <h3 id="_use_gmail_as_the_smtp_server">Use gmail as the smtp server</h3>
1296
1296
<ahref="https://security.google.com/settings/security/apppasswords" class="bare">https://security.google.com/settings/security/apppasswords</a> to create it.</p>
1297
1297
</div>
1298
1298
<divclass="paragraph">
1299
+
<p>You can also use OAuth2.0 authentication with Gmail. <code>OAUTHBEARER</code> and
1300
+
<code>XOAUTH2</code> are common methods used for this type of authentication. Gmail
1301
+
supports both of them. As an example, if you want to use <code>OAUTHBEARER</code>, edit
1302
+
your <code>~/.gitconfig</code> file and add <code>smtpAuth</code><code>=</code><code>OAUTHBEARER</code> to your account
Copy file name to clipboardExpand all lines: gitcredentials.adoc
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,6 +133,10 @@ Popular helpers with OAuth support include:
133
133
134
134
- https://github.com/hickford/git-credential-oauth[git-credential-oauth] (cross platform, included in many Linux distributions)
135
135
136
+
- https://github.com/AdityaGarg8/git-credential-email[git-credential-gmail] (cross platform, dedicated helper to authenticate Gmail accounts for linkgit:git-send-email[1])
137
+
138
+
- https://github.com/AdityaGarg8/git-credential-email[git-credential-outlook] (cross platform, dedicated helper to authenticate Microsoft Outlook accounts for linkgit:git-send-email[1])
Copy file name to clipboardExpand all lines: gitcredentials.html
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -638,6 +638,12 @@ <h3 id="_oauth">OAuth</h3>
638
638
<li>
639
639
<p><ahref="https://github.com/hickford/git-credential-oauth">git-credential-oauth</a> (cross platform, included in many Linux distributions)</p>
640
640
</li>
641
+
<li>
642
+
<p><ahref="https://github.com/AdityaGarg8/git-credential-email">git-credential-gmail</a> (cross platform, dedicated helper to authenticate Gmail accounts for <ahref="git-send-email.html">git-send-email(1)</a>)</p>
643
+
</li>
644
+
<li>
645
+
<p><ahref="https://github.com/AdityaGarg8/git-credential-email">git-credential-outlook</a> (cross platform, dedicated helper to authenticate Microsoft Outlook accounts for <ahref="git-send-email.html">git-send-email(1)</a>)</p>
0 commit comments