[alias] lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold cyan)<%an>%Creset' --abbrev-commit ss = status -s b = branch ca = commit -a -m last = log -1 HEAD co = checkout # fuzzy checkout by ticket number for branches like feature/cool-stuff-abc1234 fco = "!f() { git branch -a | egrep -m1 \"(feature|hotfix)/.*${1}\" | sed \"s/remotes\\/origin\\///\" | xargs git checkout; }; f" amend = commit --amend --no-edit