Skip to content

Instantly share code, notes, and snippets.

@mixu
Created April 5, 2012 20:31
Show Gist options
  • Save mixu/2313880 to your computer and use it in GitHub Desktop.
Save mixu/2313880 to your computer and use it in GitHub Desktop.
List git branches and last log line
#/bin/bash
git branch -r | while read line ;
do
echo
echo "************" ${line#origin/}
echo
git log -1 $line
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment