Skip to content

Instantly share code, notes, and snippets.

@cnix
Created July 22, 2010 17:58
Show Gist options
  • Save cnix/486333 to your computer and use it in GitHub Desktop.
Save cnix/486333 to your computer and use it in GitHub Desktop.
# check for unmerged commits
for b in `git branch $@ | grep -v -E '^[* ]*(demo|master)$'`; do echo "$b"; git cherry -v master "$b"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment