summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar J. Bruce Fields <bfields@citi.umich.edu>2007-05-07 00:16:33 -0400
committerLibravatar J. Bruce Fields <bfields@citi.umich.edu>2007-05-07 01:03:53 -0400
commit58c19d1f95f4742efc6b3ca7d2fddbccd015e0b0 (patch)
tree08e2a381eda9408751535d56e1c4ce2afd5fdcd4 /Documentation
parentuser-manual: clean up fast-forward and dangling-objects sections (diff)
downloadtgif-58c19d1f95f4742efc6b3ca7d2fddbccd015e0b0.tar.xz
user-manual: fix .gitconfig editing examples
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/user-manual.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
index 03206c5344..c292b4d797 100644
--- a/Documentation/user-manual.txt
+++ b/Documentation/user-manual.txt
@@ -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
@@ -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