Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I had made some changes to the code and wanted to create a new branch to reflect those changes. Using the github software on mac, Peak Meme (162), I clicked on branches, clicked the + sign next to master, created a branch called updating-design. I think I clicked publish. Then I went into PHP storm and all the code from the last few days was deleted. The code was deleted from my local clone. I was trying to push the changes I had made through the new branch. Has anyone experienced this before? How to get the code back in the files that were overwritten locally?

share|improve this question
Do you have any logs of the operations? –  pabouk Oct 31 '13 at 20:19
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.