Skip to content

Commit 58c19d1

Browse files
author
J. Bruce Fields
committed
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 <[email protected]> Signed-off-by: "J. Bruce Fields" <[email protected]>
1 parent 5972304 commit 58c19d1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Documentation/user-manual.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Making changes
158158
Make sure git knows who to blame:
159159

160160
------------------------------------------------
161-
$ cat >~/.gitconfig <<\EOF
161+
$ cat >>~/.gitconfig <<\EOF
162162
[user]
163163
name = Your Name Comes Here
164164
@@ -1049,14 +1049,13 @@ Telling git your name
10491049
---------------------
10501050

10511051
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:
10531054

10541055
------------------------------------------------
1055-
$ cat >~/.gitconfig <<\EOF
10561056
[user]
10571057
name = Your Name Comes Here
10581058
1059-
EOF
10601059
------------------------------------------------
10611060

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

0 commit comments

Comments
 (0)