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.
Can the owner of the repo see when someone clones it? No, they cannot.
You can use Sourcetree, Git from the command line, or any client you like to clone your Git repository. These instructions show you how to clone your repository using Git from the terminal. From the repository, select the Clone button. Copy the clone command (either the SSH format or the HTTPS).
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. :-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With