Skip to content

Instantly share code, notes, and snippets.

@justinjmoses justinjmoses/grecent.sh
Last active Mar 28, 2017

Embed
What would you like to do?
Git show branches with most recent commits
# via http://stackoverflow.com/a/5188364/794170
git for-each-ref --sort=committerdate refs/heads/ --format="%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.