Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to change a commit message in git after push

git commit --amend -m "New commit message"
Then
git push --force
Source by docs.github.com #
 
PREVIOUS NEXT
Tagged: #change #commit #message #git #push
ADD COMMENT
Topic
Name
4+2 =