Gitolite many users having specific working directory and all are using one repository
- by miet
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?