Skip to content

Instantly share code, notes, and snippets.

@czterystaczwarty
Created September 18, 2015 08:35
Show Gist options
  • Save czterystaczwarty/9aa4d227f1225b5daf52 to your computer and use it in GitHub Desktop.
Save czterystaczwarty/9aa4d227f1225b5daf52 to your computer and use it in GitHub Desktop.
List branches by date
recentbranches = "!sh -c \"git for-each-ref --sort='committerdate' --format='%(color:green)%(committerdate:short) %(color:yellow)%(refname)' refs/heads | sed -e 's-refs/heads/--'\""
rb = "!sh -c 'git recentbranches'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment