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

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

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Oct 7, 2010, 08:35 UTC
Message-ID
<AANLkTimQbYi=MmodFuyDdgeoYXQ42j2Jq4a+BmohGG0W@mail.gmail.com>
In-Reply-To
<AANLkTi=c9zCKUnZp3B=m9C99FKOTtz+hY5-GvSXjozHD@mail.gmail.com>
On Thu, Oct 7, 2010 at 08:09, Sverre Rabbelier <srabbelier@gmail.com> wrote:
Show 14 quoted lines
> 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.

FWIW that's one of the things I want to do if I pick up my .gitconfig inclusion patch again. Have aliases files that ship with Git itself that you can include in ~/.gitconfig.

Previous: Sverre Rabbelier
Message 4 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.