I was about to back up my local work to github today (1,100 commits). Not sure what I did but all of a sudden it says no commits, and all my Xcode files are now red. It seems to have synced my local files with the github files deleting everything locally. Is there anything I can do!?!?
It's 2 months of work :(
Update:
git reflog shows the following:
8ad5e45 HEAD@{18}: commit: UI/UX Improvements for Sign Up Process
5c2d47f HEAD@{19}: checkout: moving from myBranch to master
5c2d47f HEAD@{20}: checkout: moving from master to myBranch
5c2d47f HEAD@{21}: checkout: moving from myBranch to master
5c2d47f HEAD@{22}: checkout: moving from master to myBranch
UI/UX Improvements for Sign Up Process was a pull request I submitted back in November. So I think what cleared my local files was accidentally tapping the "branch tab on my github desktop app and switching it. I switched back to see if it would undo it but nothing changed.
