how to allow only one folder on git?
"Branch" or "user".
1). the user ("BRANCH") should not see the disallowed folders or change them.
2). it should only be able to "PUSH" to the allowed folder.
2). how can I do this, friends?
3). on github or gitlab!
CodePudding user response:
You would basically need one separate repository which would only hold the content of that folder.
If you need to include that folder in a bigger project, you can include the restricted repository in the bigger one as a submodule.