search

Home  >  Q&A  >  body text

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

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

淡淡烟草味淡淡烟草味2767 days ago791

reply all(1)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-02 09:20:41

    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

    reply
    0
  • Cancelreply