News

Compare this to the git reset command that allows you to undo any number of commits in your local history. Furthermore, a hard Git reset has the power to reset all of the files in your local workspace ...
If you want to reset your workspace and dispose of the last commit, use the git reset command. Trying to git revert the last commit is typically the wrong approach.