Skip to content

Instantly share code, notes, and snippets.

@jjgonecrypto
Last active March 28, 2017 16:34
Show Gist options
  • Save jjgonecrypto/a4f6a843124d2c6925a1956e1803b29d to your computer and use it in GitHub Desktop.
Save jjgonecrypto/a4f6a843124d2c6925a1956e1803b29d to your computer and use it in GitHub Desktop.
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