Skip to content

Instantly share code, notes, and snippets.

@larister
Created April 12, 2013 15:43
Show Gist options
  • Save larister/5372974 to your computer and use it in GitHub Desktop.
Save larister/5372974 to your computer and use it in GitHub Desktop.
recent git branches
git config --global alias.recentbranch "for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='%(refname:short)'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment