How do you undo, and go back to a previous state? We're going to cover four common scenarios and how to undo your changes.
The four scenarios:
1. Discarding local changes 01:00
2. Amending the previous commit 02:30
3. Rolling back to a previous commit 04:15
4. Reverting a commit that has been pushed to the remote 06:55
Github article on undoing changes: https://blog.github.com/2015-06-08-ho...
To consume this video in article form, go here: https://zellwk.com/blog/git-tags