'how to allow only a folder for a BRANCH on GIT
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!
Solution 1:[1]
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | LeGEC |
