There is a dialog that pops up on running:
git commit --amend
That wants me to review the messages. Is there a way to omit this dialog and
Would git commit --amend -C HEAD work?
git commit --amend -C HEAD
I don't have a git repository convenient to test on, but in the help for commit:
-C , --reuse-message= Take an existing commit object, and reuse the log message and the authorship information (including the timestamp) when creating the commit.
-C , --reuse-message=
Take an existing commit object, and reuse the log message and the authorship information (including the timestamp) when creating the commit.