I accidentally did a git reset --hard origin
on my local repository. As a result, all of my changes have been reverted back to their original state, hence my months' worth of code and work is gone. I didn't do git add
on my repository so literally, any changes I've made on my repository are gone without a trace. I've tried searching for a solution but I've only seen answers that pertain that you can only recover your work if you do git add
to it.
Any help is greatly appreciated. PLEASE DO HELP ME, GUYS.