Created
January 4, 2012 18:47
-
-
Save localshred/1561424 to your computer and use it in GitHub Desktop.
Check for out-of-date branches in a git-flow style branch system
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function cherry_compare() { | |
echo 'Out-of-date branch check' | |
echo '[master -> qa]' | |
git cherry -v qa master | |
echo '[qa -> stage]' | |
git cherry -v stage qa | |
echo '[stage -> stable]' | |
git cherry -v stable stage | |
} | |
$ cherry_compare | |
Out-of-date branch check | |
[master -> qa] | |
... commits in master not in qa ... | |
[qa -> stage] | |
... commits in qa not in stage ... | |
[stage -> stable] | |
... commits in stage not in stable ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment