Answers for "rename commit message after push"

33

edit last commit message

git commit --amend -m "New commit message."
Posted by: Guest on April-29-2020
9

how to change a commit message after push

git commit --amend -m "New commit message"
Then
git push --force
and you're done
Posted by: Guest on April-16-2020
1

rename a commit pushed

git commit --amend -m "Your new message here"
Posted by: Guest on June-28-2021
12

git amend commit message after push

$ git commit --amend -m "New and correct message"
Posted by: Guest on October-23-2020
0

change commit message after push

git push --force <repository> <branch>
Posted by: Guest on December-15-2020

Browse Popular Code Answers by Language