开发者

Merge an SVN subfolder and a git project changes

开发者 https://www.devze.com 2022-12-20 05:16 出处:网络
There is an internal SVN repository on which many changes have been made. This contains not only the project of interest, but also many other folders.

There is an internal SVN repository on which many changes have been made. This contains not only the project of interest, but also many other folders.

There is an external git repository, on which many changes have now been applied.

What is the best way to merge these 2 sets of changes.

I was thinking, take the diff of the git HEAD and svn latest changes and manually edit it to make it a p开发者_如何学运维atch. Is there a simpler/better alternative?


If they share a common ancestor it may be better to merge the changes a revision at a time, picking from either repo in chronological order.

That would be fairly tedious though for large numbers of revisions.

0

精彩评论

暂无评论...
验证码 换一张
取 消