Git / How to revert pushed commit

To revert wrong commit pushed into remote repo use git revert:

$ git revert 2af22a0071908f90f357e8eb08937cb872f1bc7e


More info can be found here: http://christoph.ruegg.name/blog/git-howto-revert-a-commit-already-pushed-to-a-remote-reposit.html

No comments:

Post a Comment