Git
Git Aliases
Git Aliases
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.stat 'status -s'
git config --global alias.st 'status -sb'
git config --global alias.last 'log -1 HEAD --stat'
I very much like this pretty log from coderwall.com:
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"