Last active
May 22, 2020 09:24
-
-
Save cloudchen/6914845 to your computer and use it in GitHub Desktop.
check whether feature branches are fully merged into develop branch
This file contains 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
#update remote info and prune all the remotes that are updated | |
git remote update -p | |
#check is there any unmerged commits (don't have to checkout local branch) | |
git branch --list -v -r --no-merged origin/develop origin/team/*/feature/* | |
#list unmerged commits of specific branch from preceding result | |
git log --oneline origin/develop..origin/team/name/feature/refactor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment