git branch --contains master
returns the names of branches from whose tips master
is reachable.
git branch --merged master
returns the names of branches whose tips are reachable from master
.
git branch --no-merged master
returns the names of branches whose tips aren't reachable from master
.
What is the flag (perhaps in a newer version of git
?) to show the names of branches whose tips are neither reachable from master
, nor can reach master
in their own ancestry? In other words, what flag gives the effect of --no-merged --no-contains
?
To put it another way, how to show branches which could not have a fast forward merge into master nor have a fast forward merge from master into them?