How do I revert all local changes in Git managed project to previous state?
If you want to revert changes made to your working copy, do this: If you want to revert changes made to the index (i.e., that you have added), do this. Warning this will reset all of your unpushed commits to master!: If you want to revert a change that you have committed, do this: If you … Read more