via http://www.codinginahurry.com/2011/02/05/three-levels-of-git-config/
There are 3 levels of Create a project specific config, you have to execute this under the project's directory. Create a global config Create a system config And as you may guess, project overrides global and global overrides system.git config; project, global and system..git/config in the project's directory.~/.gitconfig./etc/gitconfig.
git config user.name "John Doe"
git config --global user.name "John Doe"
git config --system user.name "John Doe"

Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.