I need to clone a private git repo (not from GitHub) on multiple computers.
Adding private keys of the individual computers for git repo could be a solution but I'm worried it would compromise security. I don't want the computers to be able to write on the repo, but just to be able to clone it. I think creating SSH keys for every computer is also bothersome.
Is there any recommendable solution to it?
If you only want those multiple machines/users to clone repository once, you may do the following.
--bare
repository;Now if the original secured repo ever updates, you can pull to your local origin and then pull from it to multiple machines.