Skip to content

Instantly share code, notes, and snippets.

@rconradharris
Created October 18, 2013 15:02
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rconradharris/7042896 to your computer and use it in GitHub Desktop.
Save rconradharris/7042896 to your computer and use it in GitHub Desktop.
Useful alias for seeing recent branches
[alias]
ls = ! git for-each-ref --sort='-committerdate' --format='%(refname:short)' refs/heads | xargs -n1 -I{} git log -n1 --pretty=format:'%Cblue%cr%Creset%x09{}' {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment