2

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.

Eric J.
  • 147,927
  • 63
  • 340
  • 553
Jasper
  • 21
  • 1
  • 2
  • Your question is best suited for [serverfault](http://serverfault.com). [This question](http://serverfault.com/questions/26954/how-do-i-share-a-git-repository-with-multiple-users-on-a-machine) might interest you. – jweyrich Aug 09 '11 at 18:54

1 Answers1

1

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!)

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250