Skip to content

Instantly share code, notes, and snippets.

@dubilla
Created December 30, 2013 18:24
Show Gist options
  • Save dubilla/8185770 to your computer and use it in GitHub Desktop.
Save dubilla/8185770 to your computer and use it in GitHub Desktop.
Display last n branches
git for-each-ref --sort=-committerdate refs/heads/ --format='%1B[0;32m%(authorname)%09%1B[0;36m(%(committerdate:relative))%09%1B[0;33m%(refname:short)%09%1B[m%(subject)' --count 15 | tail -r | column -t -s $'\t'
@dubilla
Copy link
Author

dubilla commented Jan 9, 2014

Written by @dy-dx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment