如何仅允许git上的分支文件夹
如何在git上只允许一个文件夹?
“分支”或“用户”。
1)。用户(“分支”)不应看到不允许的文件夹或更改它们。
2)。它只能“推”到允许的文件夹。
2)。朋友,我该怎么做?
3)。在github或gitlab上!
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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(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.