Is there a way to make a folder in a repository private and only a few users can read and write to that folder? Ideally users without private access to the folder will be able to check out the repository but the private folder will not be present. Only users with access to the folder will be able to checkout the full repository. Is this feasible?
Hi @Christopher Laurence
unfortunately on a separate folder is not possible to set permissions that differ from the repository permissions
Thanks for the reply. Do you happen to know if there is a way to keep two separate repositories inline with each other? I'm thinking of having two repositories a public and private. The issue I'm facing is that we have IP code that some people need to see and it is dependent on the public files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Put the private code in its own repo. Don't attempt to replicate the public code. Possibly look into submodules - I haven't really used them, but I think they'd be applicable to your case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Tim, using submodules are a good solution to my issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.