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

gemini cli getting file not defined error

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

vllm : Failed to infer device type