Get hash for commit:
git rev-parse HEAD
Stop commit during message edit in VIM:
:cq
(q!
doesn't stop commit)
[alias] | |
st = status | |
ci = commit | |
br = branch | |
co = checkout | |
com = checkout master | |
fe = fetch origin | |
bn = !git for-each-ref --format='%(refname:short)' `git symbolic-ref HEAD` | |
rb = rebase | |
rbm = rebase master |