title: "git rebase <branch>" on git svn repo changed remote tracking destination?
body: <p>I have a git svn repo. I have multiple release branches in here. I was preparing a new release and as part of it, I figured I'd do a "git rebase" from the previous release to pull over any changes that hadn't been merged.</p>
  
  <p>So I set up my branches...</p>
  
  <pre><code>git branch new_release remotes/svn-branches/new_release
  git branch old_release remotes/svn-branches/old_release
  </code></pre>
  
  <p>And then I did the rebase...</p>
  
  <pre><code>git checkout new_release
  git rebase old_release
  # watch it pull a bunch of commits
  git svn dcommit
      Committing to https://svn.mysvn.net/repo/releases/old_release ...
  </code></pre>
  
  <p>After I did the "svn dcommit" I almost crapped my pants. It was hosing my old release branch in Subversion!</p>
  
  <p>Why did the remote tracking branch change as a result of doing the rebase?</p>
  
  <p>How do I fix the situation I've gotten myself into?</p>
  
  <p>EDIT: Okay, for getting myself out I believe I can do the following: <a href="http://svnbook.red-bean.com/en/1.5/svn.branchmerge.basicmerging.html#svn.branchmerge.basicmerging.undo" rel="nofollow">http://svnbook.red-bean.com/en/1.5/svn.branchmerge.basicmerging.html#svn.branchmerge.basicmerging.undo</a></p>
  
  <p>Since there are only a handful of commits that were on the new_release branch that were pulled to old_release, I can revert them by hand individually on the SVN repo. I'm still confused at what happened here though.</p>
  
  <p>EDITx2: Yep, here are some steps to verify.</p>
  
  <ol>
  <li>Set up two git branches tracking remotely to SVN branches</li>
  <li>Check out one of the branches</li>
  <li>Run <code>git svn info</code> and observe the URL points to the correct location in SVN</li>
  <li>Run <code>git rebase &lt;other_branch&gt;</code></li>
  <li>Run <code>git svn info</code> again and observe the URL changed to point to the other branch location in SVN</li>
  </ol>