How do I reconnect my project to my existing GitHub repository
问题 I am working on an Xcode project with source control. I messed up so I deleted the project from my laptop, and downloaded (ZIP) my own project which I pushed to GitHub earlier. But now this cloned project is not a git repository (or any of the parent directories): .git Question: How do I reconnect my project to my existing GitHub repository? 回答1: The easiest is to: clone your GitHub project cd in that local clone do a git --work-tree=/path/to/unzip/project diff to check if your zip has any