xcode - How to give friend access to git repository without giving command line access? -


I have some GIT repositories running on my server and I want to send / write to a friend one. It's simple: I add it as a user, give it SSH access, and change the permissions to the repository folder.

Everything works fine; I am able to clone the GIT repository by using Xcode and change things ( ssh: //www.example.com/repo.git ). However, I do not want him to have command line access . If I miss it correctly, then Gitanj does not give to the command line which comes in the SSH.

Am I using Snow Leopard Server? Is it a server problem or more of a git problem? Do you have any ideas, where to start? Closes the user from accessing everyone from the log in shell to none (as opposed to / bin / bash ).

It is a good idea to use GIT server software, but this is not necessary if you are using vanilla ghetto Paste.

The GIT-Shell tool that comes with GIT can prevent you from receiving shell access to your users. In essence, you can set it as your users' login shell (Bash, CST or similar place). They will be able to run the standard guit commands, but nothing else.

Look for the Pro in the Pro.

Comments