How to make a git repository read-only?

前端 未结 9 881
执念已碎
执念已碎 2020-12-02 15:09

I have some git repositories accessed remotely through SSH and I want to make some of them read-only to prevent more pushes. Some people have remotes pointing to these repos

9条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-02 16:04

    Another possibility is the git protocol, but it requires the git daemon to be running.

提交回复
热议问题