@matheusbsbs / matheus-bagliano / commits / 58c19d1f95
Fork 0

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>

J. Bruce Fields committed May 7, 2007 at 00:16 UTC 58c19d1f95f4742efc6b3ca7d2fddbccd015e0b0
1 file changed +3 -4
Documentation/user-manual.txt
+3 -4
@@ -158,7 +158,7 @@ Making changes
158 Make sure git knows who to blame:
159
160 ------------------------------------------------
161 -$ cat >~/.gitconfig <<\EOF
161 +$ cat >>~/.gitconfig <<\EOF
162 [user]
163 name = Your Name Comes Here
164 email = you@yourdomain.example.com
@@ -1049,14 +1049,13 @@ Telling git your name
1049 ---------------------
1050
1051 Before creating any commits, you should introduce yourself to git. The
1052 -easiest way to do so is:
1052 +easiest way to do so is to make sure the following lines appear in a
1053 +file named .gitconfig in your home directory:
1054
1055 ------------------------------------------------
1055 -$ cat >~/.gitconfig <<\EOF
1056 [user]
1057 name = Your Name Comes Here
1058 email = you@yourdomain.example.com
1059 -EOF
1059 ------------------------------------------------
1060
1061 (See the "CONFIGURATION FILE" section of gitlink:git-config[1] for