Skip to content

Commit

Permalink
Added note on how to check git settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam1301 committed Apr 1, 2016
1 parent becd618 commit 21b90d0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Setting Up.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,15 @@ Now that you have git installed on your machine you should first set your name a
` $ git config --global user.email "YOUR EMAIL ADDRESS"`

> **Note** : You need to do this only once if you pass the `--global` option, because then Git will always use that information for anything you do on that system. If you want to override this with a different name or email address for specific projects, you can run the command without the `--global` option when you’re in that project.
If you want to check your git settings, you can use the `git config --list` command to list all the settings Git can find at that point:
```
$ git config --list
user.name=YOUR NAME
user.email=YOUR EMAIL ADDRESS
color.status=auto
color.branch=auto
color.interactive=auto
color.diff=auto
...
```

0 comments on commit 21b90d0

Please sign in to comment.