Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to identify branches that need to get merged in git

Tags:

git

branch

merge

I make a lot of bugfix and feature branches and in the end merge them all into a release candidate (rc). but when i test the rc I am not sure if i have merged in all the branches. How can I find out which branches are missing?

I tried gitk, but it seems it shows only the branches that are already merged in the branch that I am on. But I am interested in the branches that are not merged.

There is a nice display of all the branches at github ("network"), but it is always behind, so it is not as useful as it could be.

like image 923
user89021 Avatar asked Mar 01 '23 04:03

user89021


1 Answers

Use gitk --all to see all branches. Also, if you're on Windows, I'd recommend QGit instead of gitk. It has a better rendering algorithm of the commits graph.

like image 85
Ionuț G. Stan Avatar answered Mar 05 '23 16:03

Ionuț G. Stan