简体   繁体   中英

How to show branch merging after svn2git in gitk

I used svn2git to migrate a svn project with branches. The branches show up in gitk, but the graph does not show the branches merge back in. Check in comments indicate where the merges happened. Is there a way to manipulate the history such that the gitk graph shows the branches merging back into the master?

Ran into this as well while working on converting some projects to git. I found this blog post that helped me work out how to use a grafts file and then git filter-branch to rewrite the git history and make the changes permanent. It is a bit of manual work to find all the commit hashes and tie them together right but does achieve the desired results.

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