Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have set up a git server in windows using the apache http mod. Users come in through apache using their ldap credentials. This works great except all users have access to pull/push all repositories.

How can I define which users have permission to push to the repository and leave it wide open for pulling?

share|improve this question

You need to add an authorization layer like gitolite in order to manage push/pull permissions.

You can plug it to your apache httpd server, following the documentation "how to setup gitolite to use smart http mode".

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.