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.