Answers for "git amend previous commit after push"

14

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
0

git amend with previous commit

git commit --amend -m "an updated commit message"
Posted by: Guest on June-06-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language