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

Re: rebase autosquash doesn't recognise a chain of fixups

From
Vincent van Ravesteijn <vfr@lyx.org>
Date
Apr 5, 2011, 15:48 UTC
Message-ID
<4D9B39EB.9040208@lyx.org>
In-Reply-To
<20110405154100.GC16031@bee.lab.cmartin.tk>
On 5-4-2011 17:41, Carlos Martín Nieto wrote:
Show 11 quoted lines
> Hello,
>
>   Say I have the following commits:
>
>      5154127 fixup! fixup! one
>      0d130d8 fixup! one
>      0869d30 one
>
> because I keep executing `git commit -a --fixup HEAD`.
>
> Am I just too lazy and should look up the commit I want to fixup?

I would use 'git commit --amend -a' instead if I am already sure that I want to squash my commit into the previous one.

Vincent
Previous: Carlos Martín NietoNext: Carlos Martín Nieto
Message 2 of 7 in “rebase autosquash doesn't recognise a chain of fixups”
  1. Carlos Martín NietoApr 5, 2011
  2. Vincent van RavesteijnApr 5, 2011
  3. Carlos Martín NietoApr 5, 2011
  4. Junio C HamanoApr 5, 2011
  5. Kevin BallardApr 5, 2011
  6. Junio C HamanoApr 5, 2011
  7. Junio C HamanoApr 5, 2011

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.