Reverting to an Earlier Commit
Let’s learn how to reset changes made to a remote repository in this lesson.
We'll cover the following...
Remember the git reset
command which is useful in cases where you want to undo a recent change? Well, it is only useful when you wish to make changes to your commit history locally. ...