Skip to content

Instantly share code, notes, and snippets.

@shorttompkins
Created September 30, 2014 00:39
Show Gist options
  • Save shorttompkins/c8dedb6a25591e3be334 to your computer and use it in GitHub Desktop.
Save shorttompkins/c8dedb6a25591e3be334 to your computer and use it in GitHub Desktop.
Git aliases
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bol d blue)<%an>%Creset' --abbrev-commit --date=relative
nuke = "branch --merged | xargs git branch -d"
prp = "!f() { git whatchanged origin/master..HEAD; }; f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment