How to change the last commit message in Git?
Originally Published Here ๐!
To change the last commit message in git, you can add the --amend flag to the git commit command along with the new commit message.
# Change last commit message
git commit -m "New commit message" --amend
This will only ...
melvingeorge-me.hashnode.dev1 min read