From: Wincent Colaiuta Date: Sun, 22 Mar 2009 22:42:48 GMT Subject: Re: [RFC/PATCH 8/8] user-manual: simplify the user configuration Message-ID: <0A3F8ECD-EEFA-4DB0-AFED-AEE7DAFE8DB3@wincent.com> In-Reply-To: <1237745121-6325-9-git-send-email-felipe.contreras@gmail.com> El 22/3/2009, a las 19:05, Felipe Contreras escribió: > This is shorter, avoids the burder to think about the format of the > configuration file, and git config is already used in other places in > the manual. > > Signed-off-by: Felipe Contreras > --- > Documentation/user-manual.txt | 8 +++----- > 1 files changed, 3 insertions(+), 5 deletions(-) > > diff --git a/Documentation/user-manual.txt b/Documentation/user- > manual.txt > index b7678aa..c6ed940 100644 > --- a/Documentation/user-manual.txt > +++ b/Documentation/user-manual.txt > @@ -1015,13 +1015,11 @@ Telling git your name > --------------------- > > Before creating any commits, you should introduce yourself to git. > The > -easiest way to do so is to make sure the following lines appear in a > -file named `.gitconfig` in your home directory: > +easiest way is to use the linkgit:git-config[1] command: > > ------------------------------------------------ > -[user] > - name = Your Name Comes Here > - email = you@yourdomain.example.com > +$ git config --global user.name "Your Name Comes Here" > +$ git config --global user.email you@yourdomain.example.com > ------------------------------------------------ > > (See the '"CONFIGURATION FILE"' section of linkgit:git-config[1] for > -- > 1.6.2.1.352.gae594 See this lengthy thread: http://article.gmane.org/gmane.comp.version-control.git/106634 Wincent