Revert those changes in Git
Continuing on the theme of Git commands you should know. Today I am looking at using git to revert that last commit.
Occasionally you’ll want to undo the changes you’ve just made. And there are various ways to do that either locally or remotely depending on what you need, but you do have to be careful when doing that and avoid unwanted deletions.