[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
co = commit -a
See Contributing
$ git rev-list --all | wc-l
$ git branch -avv
Use git rebase than interactively pick and squash ( see here <http://feeding.cloud.geek.nz/2010/08/combining-multiple-commits-into-one.html>)