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

Re: rebasing trouble

From
JFJ. Bruce Fields <bfields@fieldses.org>
Date
Jun 29, 2006, 20:22 UTC
Message-ID
<20060629202234.GE14287@fieldses.org>
In-Reply-To
<7vd5crranq.fsf@assigned-by-dhcp.cox.net>
On Thu, Jun 29, 2006 at 01:04:25PM -0700, Junio C Hamano wrote:
Show 19 quoted lines
> "J. Bruce Fields" <bfields@fieldses.org> writes:
> 
> > I must be missing something obvious:
> >
> > bfields@puzzle:linux-2.6$ git checkout -b TMP nfs-client-stable^^^
> > bfields@puzzle:linux-2.6$ git-describe
> > v2.6.17-rc6-g28df955
> > bfields@puzzle:linux-2.6$ git-rebase --onto v2.6.17 origin
> > Nothing to do.
> > bfields@puzzle:linux-2.6$ git-describe
> > v2.6.17
> >
> > So the git-rebase just reset TMP to v2.6.17.  But I know that nfs-client-stable
> > isn't a subset of origin, so this doesn't make sense to me.
> >
> > The tree in question is actually at git://linux-nfs.org/~bfields/linux.git, if
> > it matters.
> 
> It matters of course.  Where is the "origin"?

I realized after I sent that that "origin" in that public repository actually isn't the same as "origin" in the local repo that I'm working on. So I just ran a GIT_DIR=. git-fetch there, and now both branches agree.

--b.
Previous: Junio C HamanoNext: J. Bruce Fields
Message 3 of 8 in “rebasing trouble”
  1. J. Bruce FieldsJun 29, 2006
  2. Junio C HamanoJun 29, 2006
  3. J. Bruce FieldsJun 29, 2006
  4. J. Bruce FieldsJun 29, 2006
  5. J. Bruce FieldsJun 29, 2006
  6. Junio C HamanoJun 29, 2006
  7. J. Bruce FieldsJun 29, 2006
  8. Junio C HamanoJun 30, 2006

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.