Skip to content

Instantly share code, notes, and snippets.

@dweomer
Created October 20, 2015 23:48
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 dweomer/78eab2c0f7a2c0157741 to your computer and use it in GitHub Desktop.
Save dweomer/78eab2c0f7a2c0157741 to your computer and use it in GitHub Desktop.
for b in $(git branch -r --merged origin/master | awk '{print $1}' | egrep -v '^stash')
do
echo -n "$b: " | egrep --color=always "$b" && git log -1 -s $b
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment