Wiki Utilities Git

Data Model

More Informations

Aliases

git config --global alias.ci commit
git config --global alias.st status
git config --global alias.co checkout
git config --global alias.br 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"

User setup

git config --global user.name "Romain Dorgueil"
git config --global user.email "romain@dorgueil.net"

References

Deprecated - 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

or

git config --global color.ui true