git commit --amend without asking for message [duplicate]
This will amend the latest commit, using that same message, in one command:
git commit --amend -C HEAD
This will amend the latest commit, using that same message, in one command:
git commit --amend -C HEAD