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


Popular posts from this blog

Solving Sonarqube :- Project was never analyzed. A regular analysis is required before a branch analysis

spark - pyspark reading from excel files