Header Ads

Header ADS

Git rename the commit message before pushing

 

1.If it's the latest commit (not pushed yet)

git commit --amend -m "New commit message"


2.If the commit is already pushed

git commit --amend -m "New commit message" 

git push --force

No comments

Theme images by fpm. Powered by Blogger.