Git revert to previous commit

There are situation when you mess up so bad you want to just go back and restart again. Fortunately If you are using Git then you can do it. We will be discussing ways in which git allows you to revert to previous commit 1.Git reset Git rest moves your head to a specific commit. … Read more