Permalink
Browse files

Minor edits to 'Setup and Initialization' section

  • Loading branch information...
1 parent 0508f53 commit b354cd89d63ba7aa899e445405adba6e7a1d736e @charlieok charlieok committed Aug 16, 2008
Showing with 10 additions and 8 deletions.
  1. +10 −8 text/06_Setup_and_Initialization/1_Git_Config.markdown
@@ -1,19 +1,21 @@
### Git Config ###
-The first thing you're going to want to do is to setup your name and
-email address for Git to use to sign your commits.
+The first thing you're going to want to do is set up your name and email
+address for Git to use to sign your commits.
$ git config --global user.name "Scott Chacon"
$ git config --global user.email "schacon@gmail.com"
-That will setup a file in your home directory that stores your name and email
-in any Git project where it's not overridden. By default that file is *~/.gitconfig*
-and the contents will then look like this:
+That will set up a file in your home directory which may be used by any of
+your projects. By default that file is *~/.gitconfig* and the contents will
+look like this:
[user]
name = Scott Chacon
email = schacon@gmail.com
-If you want to override those values for a specific project (change to using a
-work email address, for example), you can run the *git config* command without
-the *--global* option while in that project.
+If you want to override those values for a specific project (to use a work
+email address, for example), you can run the *git config* command without the
+*--global* option while in that project. This will add a [user] section like
+the one shown above to the *.git/config* file in your project's root
+directory.

0 comments on commit b354cd8

Please sign in to comment.