On Fri, 10 Jan 2020, Joseph Myers wrote:

> And we should also mention configuring your email address for git, if you 
> haven't used git on that system before or the default address you've 
> configured for git isn't the one you want for GCC commits.

I've now applied this patch to document that.

diff --git a/htdocs/gitwrite.html b/htdocs/gitwrite.html
index 94449e30..9a460a36 100644
--- a/htdocs/gitwrite.html
+++ b/htdocs/gitwrite.html
@@ -93,6 +93,19 @@ Host gcc.gnu.org<br />
 ForwardX11 no
 </code></p></blockquote>
 
+<p>Git needs to know your name and email address.  If you have not
+already configured those in <samp>$HOME/.gitconfig</samp>, do:</p>
+
+<blockquote><p><code>
+git config --global user.name "<i>Your Name</i>"<br />
+git config --global user.email "<i>Your Email Address</i>"
+</code></p></blockquote>
+
+<p>If you wish to use a different name or email address for GCC
+commits from that in <samp>$HOME/.gitconfig</samp>, you can configure
+that in an individual Git tree using a similar command
+without <code>--global</code>.</p>
+
 <hr />
 <h2 id="policies">Write access policies</h2>
 

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to