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

Re: git rebase --abort of an --onto run does not checkout the originating branch

From
Jakub Narebski <jnareb@gmail.com>
Date
Oct 28, 2010, 16:22 UTC
Message-ID
<m3wrp2gufb.fsf@localhost.localdomain>
In-Reply-To
<4CC8E84C.3030709@workspacewhiz.com>
Joshua Jensen <jjensen@workspacewhiz.com> writes:
> I'll just have to remember where I was when I started the rebase,
> perform the abort, and checkout the originating branch.
"git checkout -" (or its generalization "git checkout @{-<n>}").

P.S. This is discounting whether there is bug in "git rebase --abort" after using it with `--onto` or not.

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Joshua Jensen
Message 4 of 4 in “git rebase --abort of an --onto run does not checkout the originating branch”
  1. Joshua JensenOct 22, 2010
  2. Junio C HamanoOct 22, 2010
  3. Joshua JensenOct 28, 2010
  4. Jakub NarebskiOct 28, 2010

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.