Revert a local change in Git
How to discard changes in Git before pushing them.
How to discard changes in Git before pushing them.
Have you ever pushed a change in Git and it was wrong? Here you’ll learn how to revert the change, even if the problem was with a merge commit.