Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


share|improve this question

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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