Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.