Re: Question around git-shell usage in Everyday Git
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 1, 2006, 23:30 UTC
- Message-ID
- <7vslr264iz.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <7vy80u64xf.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 5 quoted lines
> Do you mean to reuse single directory /home/gitu/ for user A, B, C,
> and hang repositories /home/gitu/{X,Y,Z} for projects? I'd
> imagine things could be arranged that way. User A and B but not
> C may be in "projectX" group and /home/gitu/X is writable only
> by projectX group members and such...OTOH, if you did things the way as you suggested:
>URL:git@host.com:repository.git >and in ~git/.ssh/authorized_keys putting all the developers >public keys.
you cannot tell a person using one key to become "git" on that machine from another person using different key to become the same "git" on that machine; if you do not care about that then it is OK. That would work only when all of your git repositories are supposed to be accessible by everybody.
But I suspect doing so would not let you have different projects with different subset of "git" users on your shared machine.