My mentor and I are both working on a project in Visual Studio 2017 -directly in the master branch. (using GitHub for Visual Studio extension).
I recently pulled in his changes (3 commits) but now i want to go back to the state I was in, before pulling the changes.
I searched about git revert, git reset etc. but they seem to make changes to the branch in git.
I want to go back to the previous version of my code - only on my local machine, without disturbing the repository on GitHub. Any way to restore the code to a certain point in the tree, locally, without changing the tree itself?
I do not hold much experience in this, Thanks.