Re: amend warnings with no changes staged
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Aug 6, 2019, 01:30 UTC
- Message-ID
- <20190806013030.GA61803@google.com>
- In-Reply-To
- <CAOY1tUUmkRBEDkF3GiP45WSi50uUGBaamx9-PGej0Z-yt0ioPg@mail.gmail.com>
Hi,
Lukas Gross wrote:
> I have occasionally used git commit --amend without staging any > changes or modifying the commit message (--no-edit). Since this is > often done unintentionally, could amend warn when it is being used in > this way?
Can you say more about the context? What were you trying to do when you performed this operation? What happened instead?
Thanks, Jonathan