Skip to content

Instantly share code, notes, and snippets.

@mkdynamic
Created November 12, 2010 22:17
Show Gist options
  • Save mkdynamic/674798 to your computer and use it in GitHub Desktop.
Save mkdynamic/674798 to your computer and use it in GitHub Desktop.
List branches with date of last commit (via git irc, @SethRobertson)
git for-each-ref --format="%(refname)" refs/heads | while read f; do echo -n $f " "; git log -n 1 --pretty=tformat:%cd; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment