Page 1 of 1

First-Time Git Setup

Posted: Thu Oct 03, 2013 8:33 pm
by fabiodelorenzo
remember you can use --system OR --global

--system => /etc/gitconfig file
Contains values for every user on the system and all their repositories.


--global option => ~/.gitconfig file
Specific to your user home directory
if you do so, you also have to do :
git config --global user.name "John Doe"
git config --global user.email johndoe@example.com

configure GIT to use vimdiff for the diffing:
git config --global merge.tool vimdiff

Checking Your Settings
git config --list