Skip to content

Instantly share code, notes, and snippets.

@ibroadfo
Created May 17, 2015 11:03
Show Gist options
  • Save ibroadfo/0902750653f2a4d7192a to your computer and use it in GitHub Desktop.
Save ibroadfo/0902750653f2a4d7192a to your computer and use it in GitHub Desktop.
handy git aliases
[alias]
branchdates = for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:relative) %09 %(refname:short)'
branchdatesandremotes = ! git for-each-ref --sort=-committerdate --format='%(committerdate:relative) %09 %(refname:short)'|head
wdiff = diff --word-diff -D
wdiffdot = diff --word-diff -D --word-diff-regex=.
vcherry = cherry -v
graphlog = log --graph --oneline --decorate
graphlogall = log --graph --all --oneline --decorate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment