I have setup git repository on a Linux Redhat machine. Users are setup in .htpasswd. The checkin/checkout is done using http (Apache is setup for this).
How can i give read vs read/write permissions to these users on git repository?
Thanks.
I have setup git repository on a Linux Redhat machine. Users are setup in .htpasswd. The checkin/checkout is done using http (Apache is setup for this).
How can i give read vs read/write permissions to these users on git repository?
Thanks.
I would recommend gitolite, a set of perl script managing authorization to a Git repo.
You can plug it on top of your apache, which will do the authentication part.
As I mentioned in "Distributed Version Control Systems and the Enterprise - a Good mix?", a DVCS in itself has no authentication (and no authorization!)