Re: git commit --amen
- From
Phil Hord <phil.hord@gmail.com>
- Date
- Oct 4, 2012, 14:25 UTC
- Message-ID
- <CABURp0rbNZSOC_Jtxfjp+j3SQR=+r0pU6vOXvc0Jnth0UU9mDA@mail.gmail.com>
- In-Reply-To
- <0d559e3191a392841124d96870a67735@rom1v.com>
> Is it normal that "git commit --amen" actually works ? > (it does like --amend) > > version 1.7.10.4
Yes. From Documentation/technical/api-parse-options.txt:
* Long options may be 'abbreviated', as long as the abbreviation
is unambiguous.Apparently since 2008-06-22.
So 'git commit --am' also works. But it should probably be avoided because of its similarity to 'git commit -am'.
Phil