git unmerged branches code example
Example 1: list of unmerged branches
// those not in master
git branch --no-merged master
// those not in current HEAD
git branch --no-merged
git branch -r --no-merged
// compare with origin
git branch -r --no-merged origin/master
Example 2: how to get unmerged branch git
git branch --no-merged master