Skip to content
代码片段 群组 项目
未验证 提交 d3ac2026 编辑于 作者: Justin Tobler's avatar Justin Tobler 提交者: GitLab
浏览文件

doc/hooks: Clarify Gitaly CLI

The hooks documentation references using the Gitaly CLI to set custom
Git hooks for a repository but does not elaborate on what the CLI is.
Update the documentation to explain that the Gitaly CLI is part of the
Gitaly server binary.
上级 dcee8402
No related branches found
No related tags found
无相关合并请求
......@@ -18,8 +18,13 @@ on the GitLab server. You can use them to run Git-related tasks such as:
Git server hooks use `pre-receive`, `post-receive`, and `update`
[Git server-side hooks](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks#_server_side_hooks).
GitLab administrators configure server hooks through the Gitaly CLI, which connects to the Gitaly gRPC API.
If you don't have access to the Gitaly CLI, alternatives to server hooks include:
GitLab administrators configure server hooks using the `gitaly` command, which also:
- Is used to launch a Gitaly server.
- Provides several subcommands.
- Connects to the Gitaly gRPC API.
If you don't have access to the `gitaly` command, alternatives to server hooks include:
- [Webhooks](../user/project/integrations/webhooks.md).
- [GitLab CI/CD](../ci/index.md).
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册