git updated last commit message


If you're trying to modify git messages, then the following command comes in handy :-


git commit --amend -m "new comment message"
Forces a push to  remote branch

git push --force





Comments

Popular posts from this blog

Windows SSH: Permissions for 'private-key' are too open

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20