如何限制服务器上的git只能进行pull操作


如题,如何限制服务器上的git只能进行pull操作

github 服务器端 git

修奇123 10 years, 4 months ago

简单方案:使用 SSH 协议,只赋予 git 用户使用 git 的权限,只赋予 git 读取库的文件的权限。

复杂方案:GitLab

老乔伊Joey answered 10 years, 4 months ago

Your Answer