First-Time Git Setup
Posted: Thu Oct 03, 2013 8:33 pm
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
--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