On 07.07.15 08:40, saurabh@xxxxxxxxxxx wrote: > Hi, > > Please let me know whether Git supports directory level access or not. > > For example :- Consider the structure with one repository consisting of sub directories for each product. > main_repo: > dir1 dir > dir2 dir > shared-dir dir > private dir > One group(user) of developers has access to dir1 and shared-dir while the other group(user) has access to dir2 and shared-resources. > Just for context, both dir1 and dir2 require shared-dir to be checked out for building the products. > > And private dir is only accessible by admin(repo owner). > > Regards > Saurabh gaur Git is a distributed VCS. If you do a clone, all information is available on your local machine. Solution: Use a different repo for private stuff, in your example you need 4 repos, which has the advantage that each product has it's own repo. HTH -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html