Skip to content

Instantly share code, notes, and snippets.

@stouset
Created October 7, 2011 21:35
Show Gist options
  • Save stouset/1271401 to your computer and use it in GitHub Desktop.
Save stouset/1271401 to your computer and use it in GitHub Desktop.
Merged branches
git branch -r | while read BRANCH; do
if [ `git incoming $BRANCH | wc -l` == 0 ]; then
echo $BRANCH
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment