It's easy to just amend a git commit message:
git commit --amend
If the commit is pushed to a remote repository already:
git commit --amend
git push --force-with-lease <repository_name> <branch_name>
It's easy to just amend a git commit message:
git commit --amend
If the commit is pushed to a remote repository already:
git commit --amend
git push --force-with-lease <repository_name> <branch_name>