How can I prevent the cloning of my github repository?

主宰稳场 提交于 2020-07-08 17:48:50

问题


I'm trying to figure a way to prevent clone from github repository, for example, I have a private repository and some people working in that, in a company computer, each one in your team and authorization levels setted up.

When I set authorization for some user on github, the repository is avaiable on his/her own github account, to see and do what want since is authorized from anywhere.

How can I avoid someone to clone the repository on your own computer? Try to figure out someone is planning to get out the company for some reason, but before that hi/she clone the company repositories to use somewhere else. Since he/she will be unable to make changes on remote after I remove permission, avoiding clone will solve my security concerns.


回答1:


You can't.

You can't configure githubs git server on this way. More exactly, it is an automatized feature of the github, which can be triggered only by an incoming transaction. Not git transaction, but financial transaction. :-)



来源:https://stackoverflow.com/questions/33573950/how-can-i-prevent-the-cloning-of-my-github-repository

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!