Skip to main content

Git Config

Basic Usage:

 

//File Locations
/etc/gitconfig
~/.gitconfig
~/.config/git/config

//all settings and where they come from
git config --list --show-origin

//Identity 
git config --global user.name "John Doe"
git config --global user.email [email protected]

//Editor
git config --global core.editor vim

//Check a value
git config <key>