I'm doing some work with Xcode, using local git first. In order to share the code, I started trying GitHub. Somehow, I made a mess.
Today, after the code was working to some extent, I actives GitHub to upload the code. Then I found that I have nothing locally left.
I had all my code in User/Developer and 3 nights work is gone :(
Anyway that I can restore my code?