Johnny
0
Q:

how to change a commit message after push

$ git commit --amend -m "New and correct message"
7
git commit --amend -m "New commit message"
Then
git push --force
and you're done
5
# Displays a list of the last commits
# Just replace a name with another one and save and close the file
git rebase -i HEAD~3
-1

New to Communities?

Join the community