List no merged branches on git

Jun. 22, 2012

We are using git-flow as git branching model to do development.

However, there are more and more feautre branches were generated, and we need to make a list quickly for all branches to see which branch is still under development and not merged into master branch sometimes.

Then this command will give a huge help.

git branch --no-merged master

And if add -a you can get all include remote branches.