I’m using Git and want to get rid of all my current changes and make my files look exactly like they do in my repo on GitHub. How do I do this?
I’ve been searching around and found things but I want to be careful not to mess anything up.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want to start fresh with what is on github, the simplest route is to just make a new clone.