How to cancel adding files that were copied from a remote server?

Copied into the working directory the files are added(another person) to git using git pull (which I didn't) and now I need to return everything that was before I used git pull, how to do it can not find?!
April 7th 20 at 15:45
2 answers
April 7th 20 at 15:47
git log
Find your last commit, you take the hash of
git checkout Haskanita
thank you - buster_Stanton33 commented on April 7th 20 at 15:50
April 7th 20 at 15:49
Write git log and see all the changes that have been in the repository for the last time. Each change has a date and commit ID of the form 2906fca4d20232858fb1c124d054e2c6da46ab66. To revert to a specific commit, simply run the command git checkout identificationdata
thank you - buster_Stanton33 commented on April 7th 20 at 15:52
Tell me with what command I can revert back to a remote server to a certain commit?! because of the fact that I rolled back locally, and now , for some reason not pouchitsa in the remote server , I can not understand why. Says Everything up-to-date with pouchet, and when you add or commit from a detached HEAD 7dasdewaq ... - buster_Stanton33 commented on April 7th 20 at 15:55

Find more questions by tags GitJavaScript