[英]restrict access of a member to whole project so that can push only and can not pull in git and git lab
[英]Is possible to restrict "git" commands only in the root of the project?
是否有git
设置来避免其他开发人员从子文件夹提交? 我想将其设置为在提交时始终运行 husky 命令
project/
project/subfolder/
没有这样的 git 设置。
您可以使用 git 挂钩自定义您的工作流程。 (客户端挂钩,如预提交挂钩或服务器端挂钩)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.