简体   繁体   中英

How to correctly preserve branch/merge history of an SVN repository when migrating to GIT

I'm trying to migrate a small SVN repository w/ 2000+ revs with 10+ branches to GIT. Branches sometimes merge contents from other branches. My main choice, was obvisously to use:

git svn clone -s URL

However, my GIT history only preserved the branching information and never shows a merge. Having an hard time googling for this too... Am I missing something?

svn only very recently added merge tracking. Does your version of subversion support it? If it does, do you know how it actually communicates that to git so that git could model it as well?

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