Skip to content

Commit

Permalink
user-manual: fix .gitconfig editing examples
Browse files Browse the repository at this point in the history
Santi Béjar points out that when telling people how to "introduce
themselves" to git we're advising them to replace their entire
.gitconfig file.  Fix that.

Cc: "Santi Béjar <sbejar@gmail.com>
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
  • Loading branch information
J. Bruce Fields committed May 7, 2007
1 parent 5972304 commit 58c19d1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Documentation/user-manual.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Making changes
Make sure git knows who to blame:

------------------------------------------------
$ cat >~/.gitconfig <<\EOF
$ cat >>~/.gitconfig <<\EOF
[user]
name = Your Name Comes Here
email = you@yourdomain.example.com
Expand Down Expand Up @@ -1049,14 +1049,13 @@ Telling git your name
---------------------

Before creating any commits, you should introduce yourself to git. The
easiest way to do so is:
easiest way to do so is to make sure the following lines appear in a
file named .gitconfig in your home directory:

------------------------------------------------
$ cat >~/.gitconfig <<\EOF
[user]
name = Your Name Comes Here
email = you@yourdomain.example.com
EOF
------------------------------------------------

(See the "CONFIGURATION FILE" section of gitlink:git-config[1] for
Expand Down

0 comments on commit 58c19d1

Please sign in to comment.