简体   繁体   中英

How to get the names of git branches which were merged into a merge

We develop feature branches which we merge to master and delete. Then we merge master to a branch named "release".

Having checked out the release branch head, I need to see the names of all the branches that were merged to master and deleted.

I try the following but it only gives me the names of the branches that still exist.

git branch --list -a --merged

The default commit message in a merge includes the names of both the merged branch and the target branch. Have you checked there?

Something like Merge branch 'feature1' into develop .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM