在Github中恢复代码库? [英] Recover code repository in Github?

查看:279
本文介绍了在Github中恢复代码库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近继承了一个曾经在Github上进行版本控制的项目。但是,由于缺乏原始开发人员的沟通,我只剩下生活在代码中的代码库。我的问题是,如果可以在Github中恢复代码回购,因为我有 .git 文件夹,其中包含所有与git相关的文件?

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?

推荐答案

您可以按照将一个现有的项目添加到Github上并且获得它。

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.

这篇关于在Github中恢复代码库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆