git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git svn master pointing to commit for older svn tag?

From
EWEric Wong <normalperson@yhbt.net>
Date
May 10, 2009, 01:37 UTC
Message-ID
<20090510013742.GC2000@dcvr.yhbt.net>
In-Reply-To
<2729632a0905061459v6c257b3ay60e1f454e8f2bb4a@mail.gmail.com>
skillzero@gmail.com wrote:
Show 10 quoted lines
> I'm using git svn to sync to a Subversion repository and it generally
> works, but somehow, it seems to have gotten into a state where master
> is pointing to the commit for an old svn tag rather than to the svn
> trunk so 'git svn rebase' never does anything.
> 
> If I look in .git/info/refs, I see that refs/heads/master is pointing
> to the commit for a specific tag and I can change to point to
> something else, but I'm wondering how it got into this state and if
> there's a better way to tell git svn to go back to using the svn trunk
> so future rebases work correctly?

You can use "git rebase refs/remotes/trunk" on any working tree to reapply your current work against trunk. "git svn rebase" just uses "git rebase" internally anyways.

-- 
Eric Wong
Previous: skillzero@gmail.com
Message 2 of 2 in “git svn master pointing to commit for older svn tag?”
  1. skillzero@gmail.comMay 6, 2009
  2. Eric WongMay 10, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.