I have gone to do a push to a new repository, and accidentally set the old folder i was working on as the main folder for the new repository on github. Github Desktop did a pull of the old files and overwrote my entire folder, months of work gone. Is there a way to get back what the pull overwrote?
This is months of work down the drain because of one simple click.
When i clicked on the 'change directory' i chose the existing folder i was using with my main files, those files have been deleted where they didn't match and now it's a copy of a folder from months ago, that was pushed to github. Seemingly destroying all the work i had done.
Operating system is OSX 10.15.2