Gitolite many users having specific working directory and all are using one repository

Posted by miet on Stack Overflow See other posts from Stack Overflow or by miet
Published on 2012-07-11T14:47:26Z Indexed on 2012/07/11 15:15 UTC
Read the original article Hit count: 180

Filed under:
|

I'm using Gitolite.
This is my folder Structure:

/var/www/demo.com/user1   
/var/www/demo.com/user2  
/var/www/demo.com/user3

I have created one repository named demo.git.
I have created three gitolite users user1, user2 and user3.

Now, my question is that when user1 clone or commit or push or pull changes, then it only should change user1's working directory, and same as user2 and user3.
How would you enforce that with Gitolite?

© Stack Overflow or respective owner

Related posts about hook

Related posts about gitolite