Skip to content

Commit b354cd8

Browse files
committed
Minor edits to 'Setup and Initialization' section
1 parent 0508f53 commit b354cd8

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed
Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
### Git Config ###
22

3-
The first thing you're going to want to do is to setup your name and
4-
email address for Git to use to sign your commits.
3+
The first thing you're going to want to do is set up your name and email
4+
address for Git to use to sign your commits.
55

66
$ git config --global user.name "Scott Chacon"
77
$ git config --global user.email "schacon@gmail.com"
88

9-
That will setup a file in your home directory that stores your name and email
10-
in any Git project where it's not overridden. By default that file is *~/.gitconfig*
11-
and the contents will then look like this:
9+
That will set up a file in your home directory which may be used by any of
10+
your projects. By default that file is *~/.gitconfig* and the contents will
11+
look like this:
1212

1313
[user]
1414
name = Scott Chacon
1515
email = schacon@gmail.com
1616
17-
If you want to override those values for a specific project (change to using a
18-
work email address, for example), you can run the *git config* command without
19-
the *--global* option while in that project.
17+
If you want to override those values for a specific project (to use a work
18+
email address, for example), you can run the *git config* command without the
19+
*--global* option while in that project. This will add a [user] section like
20+
the one shown above to the *.git/config* file in your project's root
21+
directory.

0 commit comments

Comments
 (0)