开发者

Git SVN rebase to tags only

开发者 https://www.devze.com 2023-01-21 15:21 出处:网络
I\'m extending an open source project with additional functionality. So I\'ll be basing my cod开发者_Python百科e on the released version of the source code. The open source project uses SVN and I uses

I'm extending an open source project with additional functionality. So I'll be basing my cod开发者_Python百科e on the released version of the source code. The open source project uses SVN and I uses Git.

How would I rebase only to the released version (SVN tags) instead of to the HEAD of trunk when a new version is released?

Thanks.


You can do your work on a branch based off of a tag, which you can pull into your git repo with the --tags= option to git svn init.

0

精彩评论

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

关注公众号