GIT: HOW TO CHANGE LAST COMMIT MESSAGE IF PUSHED BY MISTAKE

git reset --soft HEAD^ 
git commit -m "The message you wanted to use" 
git push -f

Share this post

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email