问题
I recently inherited a project that used to be setup with Github for version control. However, due to lack of communication from the original developer, I'm left with code base that lives on the production. Question I have is if it's possible to recover a code repo in Github given that I have the .git
folder that contains all git related files?
回答1:
If there's an existing .git
folder, it's probably an existing git repository. You could just follow the instructions for adding an existing project to Github and get it that way.
来源:https://stackoverflow.com/questions/26857268/recover-code-repository-in-github