如题,如何限制服务器上的git只能进行pull操作
Simple solution: Use the SSH protocol, only give the git user the permission to use git, and only give git the permission to read the files in the library.
Complex solution: GitLab
Simple solution: Use the SSH protocol, only give the git user the permission to use git, and only give git the permission to read the files in the library.
Complex solution: GitLab