Dan
Dan

Reputation: 1729

Git SVN rebase to tags only

I'm extending an open source project with additional functionality. So I'll be basing my code 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.

Upvotes: 1

Views: 170

Answers (1)

Ben Stiglitz
Ben Stiglitz

Reputation: 4004

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.

Upvotes: 1

Related Questions