github - Git Discard all changes locally and remote after a certain commit -


I'm having trouble bringing me back to a certain commit commit. I am using github and socratium. "How can I remove all changes and return to that position and work from there?

I tried to reset, but it seems that it does not move. If this is a terminal commando for GIT then it is also fine.

My False :-(

You can return all your files by typing this command through your commanding directory and index.

  git reset For example, if I have a commitment that is referred to as committed 4a155e5b3b4548f5f8139b5210b9bb477fa549de - I will write:  
  Git reset --hard 4a155e5  

Comments