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

Discover more from Ruby on Rails, NodeJS, React Consulting | Idyllic

Subscribe now to keep reading and get access to the full archive.

Continue reading