Multiple Git repositories in one directory

Posted by Jakob on Stack Overflow See other posts from Stack Overflow or by Jakob
Published on 2010-03-25T21:15:03Z Indexed on 2010/03/25 21:23 UTC
Read the original article Hit count: 517

Filed under:
|
|

Hello,

I would like to deploy a directory to multiple developers having different permissions. So this is one thing Git cannot do. What about creating two repositories in one directory and assigning them different file lists by excluding files managed by the other repository with the .gitignore file.

Example: /www/project/.git for all files execpt in /www/project/css /www/project/css/.git -> only files in this directory

Has anyone tried this solution? Or are there any better ways to handle this issue?

Regards, Jakob

© Stack Overflow or respective owner

Related posts about git

Related posts about gitignore