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

Re: [PATCH] New commit option --fixup.

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Oct 7, 2010, 08:09 UTC
Message-ID
<AANLkTi=c9zCKUnZp3B=m9C99FKOTtz+hY5-GvSXjozHD@mail.gmail.com>
In-Reply-To
<AANLkTimHz3sCDh-aicw1agi_mrL8pUztfi32vWv1pXUM@mail.gmail.com>
Heya,
On Thu, Oct 7, 2010 at 02:38, Pat Notz <patnotz@gmail.com> wrote:
> Why not just use an alias for this?  I do:
>
> git config alias.fixup "commit --amend -C HEAD"
I have a similar alias:
git config alias.amendall "commit --amend -a -C HEAD"

I don't think we need a command to do this, but I'm starting to think we really should have a list of aliases either ship with git itself, or with the git documentation.

-- 
Cheers,

Sverre Rabbelier
Previous: Pat NotzNext: Ævar Arnfjörð Bjarmason
Message 3 of 4 in “New commit option --fixup.”
  1. New commit option --fixup.Rodolfo Borges, Oct 6, 2010
  2. Pat NotzOct 7, 2010
  3. Sverre RabbelierOct 7, 2010
  4. Ævar Arnfjörð BjarmasonOct 7, 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.