git commit —amend -m “good message”
Action: this will change message of last commit, in case of bad message.
git add .
git commit —amend —no-edit
Action: in case of forgotten staging, [keep the message]