Shell/Bash: git amend last commit message Example
Shell/Bash Example: This is the "git amend last commit message" Example. compiled from many sources on the internet by SimpleTutorials.org
change git commit message
git commit --amend -m "New commit message"
amend last commit message
$ git commit --amend -m "New and correct message"
edit last commit message
git commit --amend -m "New commit message."
how to change a commit message after push
git commit --amend -m "New commit message" Then git push --force and you're done
git amend last commit message
$ git commit --amend -m "New and correct message"
change message from last pushed commit
git commit --amend
* Summary: This "git amend last commit message" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!