How to identify branches that need to be merged in git

I make a lot of bug fixes and functions, and eventually combine them all into a candidate for release (rc). but when I check rc, I'm not sure if I merged in all branches. How to find out which branches are missing?

I tried gitk, but it seems that it only shows branches that are already merged into the branch in which I am included. But I'm interested in branches that are not merged.

A good display of all branches in github ("network"), but it is always behind, so it is not as useful as it could be.

+4
source share
3 answers

Use gitk --all to see all branches. Also, if you are running Windows, I would recommend QGit instead of gitk . It has the best fix chart rendering algorithm.

+5
source

Take a look at git cherry (not to be confused with git cherry picks).

+2
source
 git branch --no-merged 

is a clean way to display a list of branches that need to be merged with the current branch.

" How to get changes in a branch in git " refers to a good script to format the result of this command.

+1
source

All Articles