git Git Configuration and aliases

Nothing fancy here, just the fast and dirty bootstrap steps to have a pleasant git environment.

My git aliases

git config --global commit
git config --global status
git config --global checkout
git config --global branch
git config --global alias.lg log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit

My user setup

git config --global "Romain Dorgueil"
git config --global ""

Colors (not required after git 1.8.4)

git config --global color.branch auto
git config --global color.diff auto
git config --global color.interactive auto
git config --global color.status auto


git config --global color.ui true

Share the love!

Liked this article? Please consider sharing it on your favorite network, it really helps me a lot!

You can also add your valuable insights by commenting below.