amend warnings with no changes staged
- From
- Lukas Gross <lukasgross@u.northwestern.edu>
- Date
- Aug 6, 2019, 00:28 UTC
- Message-ID
- <CAOY1tUUmkRBEDkF3GiP45WSi50uUGBaamx9-PGej0Z-yt0ioPg@mail.gmail.com>
Hi,
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?
Thanks!