Resetting workspace

By mistake I have messed up my workspace while performing my module 3 task and I want to reset it to the module 2 completion state. Please help me.

That’s what git is for. Try to find a way to get back to the commit you made while submitting the code for assessment.

1 Like

This link might help you : Getting Older Versions
Just see where you want to go and checkout in that version.

I have deleted the files which are pulled while setting up for module 3 and after again pulling those files, it shows that head is updated.

Hey @omicron-mg use git logs and then find the hash value of commit to which you want to go and then use git reset command using hash value as after that you can retrieve your older versions.