开发者社区 问答 正文

当通过 SSH 访问 GitLab Server 时,GitLab Shell 会是什么反应呢?

当通过 SSH 访问 GitLab Server 时,GitLab Shell 会是什么反应呢?

展开
收起
游客vwuxaq6iqaowc 2021-12-13 20:26:34 689 分享 版权
1 条回答
写回答
取消 提交回答
  • 当通过 SSH 访问 GitLab Server 时,GitLab Shell 会:

    限制执行预定义好的Git命令(git push, git pull)

    调用 GitLab Rails API,检查用户权限

    执行 pre-receive 钩子(在 GitLab 企业版中叫做 Git 钩子)

    执行你请求的动作

    处理 GitLab 的 post-receive 动作

    处理自定义的 post-receive 动作

    2021-12-13 20:26:46
    赞同 展开评论
问答分类:
问答地址: