How do I restore my GIT repo to match what's on the GIT server?
Dec 01, 2019 asked by anonymous
Question / Issue:
I have broken my project, and I want to return to what's on the server without deleting some new files. How can I do this?
Date: Dec. 1, 2019
Author: Mind Chasers
To get back to the last known good commit on master: git reset --hard origin/master If you do want to delete your local files after this: git clean -f For more information: git help reset