Skip to content

Instantly share code, notes, and snippets.

@wilkie
Created April 19, 2013 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wilkie/5421783 to your computer and use it in GitHub Desktop.
Save wilkie/5421783 to your computer and use it in GitHub Desktop.
Print out the log of every commit in every branch.
for hash in `git rev-list --branches=*`
do
echo `git log --pretty=oneline -n1 --abbrev-commit ${hash}`
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment