Xavier suggested I blog my Git aliases.
[alias] ci = commit -v prune-all = !git remote | xargs -n 1 git remote prune record = !git add -p && git ci amend-record = !git add -p && git ci --amend stoat = !toilet -f future STOATS update-master = !git checkout master && git pull -r lol = log --graph --decorate --pretty=oneline --abbrev-commit lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
Mostly ((No, I don’t remember why I added git stoat either.)) self-explanatory.
- git ci
 - Shorter than git commit, and -v shows you what you’re about to commit.
 - git prune-all
 - From the Git wiki.
 - git record; git amend-record
 - I started using these as a Darcs refugee, but they’re also a good way to avoid doing git add -p && git commit -a through overly-active muscle memory. I could probably simplify them to use git commit -p.
 - git lol; git lola
 - …come from Conrad Parker.
 
What’re your favourites?