简体   繁体   English

使用下载的zip文件克隆并恢复github项目,并撤消对用户的访问

[英]Clone and restore github project with downloaded zip file and revoke access to user

Please excuse my ignorance, I am new to github. 请原谅我的无知,我是github的新手。 I have been working with a developer who has been a living nightmare. 我一直在与一个生活噩梦的开发人员合作。 I would appreciate advice on how to acquire my code and entire project and clone it to a new repository where I can have a new developer continue with the project. 对于如何获取我的代码和整个项目并将其克隆到新的存储库,我可以请新开发人员继续进行该项目,我将不胜感激。

The current stack is Heroku,AngularJS,NodeJS,MongoLab. 当前堆栈是Heroku,AngularJS,NodeJS,MongoLab。 I have downloaded .zip copies of the repository - can I simply create a new account and upload the zip file? 我已经下载了存储库的.zip副本-我可以简单地创建一个新帐户并上传zip文件吗? Is there anything I should be cautious about? 我有什么需要注意的吗? How can I gain complete control of my project and files? 如何获得对项目和文件的完全控制? How can I restrict access to the current developer? 如何限制对当前开发人员的访问?

Hit the fork option, which will fork it to your private repo. 点击fork选项,它将把它分叉到您的私人仓库中。 Then delete the one with the other dev. 然后删除另一个开发人员。

Or, you could simply hit create new repository, and then use Github desktop to upload those files you downloaded to a new repo. 或者,您可以简单地点击创建新的存储库,然后使用Github桌面将您下载的那些文件上传到新的仓库中。 You can do that with the current account. 您可以使用当前帐户执行此操作。

Alternatively, you could just kick the other person off your current repo. 另外,您也可以将其他人踢出当前的存储库。 CHeck this link out for more info: https://help.github.com/articles/removing-a-collaborator-from-a-personal-repository/ 检查此链接以获取更多信息: https ://help.github.com/articles/removing-a-collaborator-from-a-personal-repository/

Please excuse my ignorance 请原谅我的无知

Don't worry, everyone has to start somewhere. 别担心,每个人都必须从某个地方开始。

Hope this helped! 希望这对您有所帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM