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

Re: Need some help with git rebase

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Dec 31, 2009, 05:01 UTC
Message-ID
<be6fef0d0912302101ta010dfamab05b751a0ceee76@mail.gmail.com>
In-Reply-To
<1262211866.7068.1.camel@kheops>
Hi,
On Thu, Dec 31, 2009 at 6:24 AM, Sylvain Rabot <sylvain@abstraction.fr> wrote:
Show 10 quoted lines
> And then, at the end of the rebase, without me doing anything, feature
> branch is checked out and it seems that its HEAD has been reset to the
> new 12.72.1 HEAD.
>
> --x--x--x--x--x--x--x--x--x--x--x--x master
>   \
>    o--o--o--o--o--o--o--a--a--a--a--a--a--a--a--a 12.72.1 feature
>
> Is that normal ? If it is, how do I do to avoid my feature branch to be
> reset at 12.72.1's HEAD ?
reading the manual, I think this is normal.

According to the third paragraph of the description of git-rebase, the branch feature will be reset to 12.72.1.

You can just rename the branch back to 12.72.1, and retrieve the old tip of feature by examining the reflog.

-- 
Cheers,
Ray Chuan
Previous: Peter BaumannNext: Wincent Colaiuta
Message 6 of 7 in “Need some help with git rebase”
  1. Sylvain RABOTDec 28, 2009
  2. Sylvain RabotDec 30, 2009
  3. Wincent ColaiutaDec 30, 2009
  4. Sylvain RabotDec 31, 2009
  5. Peter BaumannDec 31, 2009
  6. Tay Ray ChuanDec 31, 2009
  7. Wincent ColaiutaDec 31, 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.