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.

link|improve this question
feedback

1 Answer

Assuming you already have git-svn or some other method of importing commits set up:

git rebase releasetag mybranch

The tag releasetag might import from SVN or it might be a tag you've created yourself with git-tag, or it could even just be the SHA-1 of a particular commit.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.