diff options
Diffstat (limited to 'doc/administration')
-rw-r--r-- | doc/administration/custom_hooks.md | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/administration/custom_hooks.md b/doc/administration/custom_hooks.md index 28afaf84f5a..97650cbeef7 100644 --- a/doc/administration/custom_hooks.md +++ b/doc/administration/custom_hooks.md @@ -1,11 +1,13 @@ # Custom Git Hooks > **Note:** Custom Git hooks must be configured on the filesystem of the GitLab -server. Only GitLab server administrators will be able to complete these tasks. -Please explore [webhooks] and [CI] as an option if you do not -have filesystem access. For a user configurable Git hook interface, see -[Push Rules](https://docs.gitlab.com/ee/push_rules/push_rules.html), -available in GitLab Enterprise Edition. +> server. Only GitLab server administrators will be able to complete these tasks. +> Please explore [webhooks] and [CI] as an option if you do not +> have filesystem access. For a user configurable Git hook interface, see +> [Push Rules](https://docs.gitlab.com/ee/push_rules/push_rules.html), +> available in GitLab Enterprise Edition. +> +> **Note:** Custom Git hooks won't be replicated to secondary nodes if you use [GitLab Geo][gitlab-geo] Git natively supports hooks that are executed on different actions. Examples of server-side git hooks include pre-receive, post-receive, and update. @@ -97,5 +99,6 @@ exit 1 [CI]: ../ci/README.md [hooks]: https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks#Server-Side-Hooks [webhooks]: ../user/project/integrations/webhooks.md +[gitlab-geo]: ../administration/geo/replication/index.md [5073]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5073 [93]: https://gitlab.com/gitlab-org/gitlab-shell/merge_requests/93 |