Node Body | Modules Unraveled

In the last video we saw how to reset a file or directory to it's last committed state, but what if you make a commit and then need to undo it?

At some point you will make a commit, and then realize that it broke something, or the code just really wasn't ready to be committed. There are two commands that can do that for you "git reset" and "git revert". We'll look at "git reset" in this video.