revert - revert a previous commit
To revert a previous commit, use git revert:
$ git revert HEAD # revert latest commit $ git revert e61eb9 # revert commit #e61eb9
Git | An introduction to Git | #25 |
To revert a previous commit, use git revert:
$ git revert HEAD # revert latest commit $ git revert e61eb9 # revert commit #e61eb9
Copyright © 2009 http://www.pmichaud.com/2009/pres/ |