First-Time Git Setup

GIT installation, quick reference manual and usage
fabiodelorenzo
Posts: 65
Joined: Thu Oct 03, 2013 5:54 pm

First-Time Git Setup

Postby fabiodelorenzo » 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

Return to “Git”

Who is online

Users browsing this forum: No registered users and 3 guests