From 44ac9ca355f137d775e8bd48905d78105ddb332c Mon Sep 17 00:00:00 2001 From: Robert Schilling Date: Wed, 1 Mar 2017 15:36:59 +0100 Subject: [PATCH 1/2] Remove git hooks documentation --- doc/git_hooks/git_hooks.md | 1 - 1 file changed, 1 deletion(-) delete mode 100644 doc/git_hooks/git_hooks.md diff --git a/doc/git_hooks/git_hooks.md b/doc/git_hooks/git_hooks.md deleted file mode 100644 index 860de271dfad27..00000000000000 --- a/doc/git_hooks/git_hooks.md +++ /dev/null @@ -1 +0,0 @@ -Git Hooks have been renamed to [Push Rules](../push_rules/push_rules.md) -- GitLab From 2ca74c505a6e3349ce56cb58d7abc84765e893a3 Mon Sep 17 00:00:00 2001 From: Robert Schilling Date: Wed, 1 Mar 2017 16:45:13 +0100 Subject: [PATCH 2/2] Link to push rules --- doc/administration/custom_hooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/administration/custom_hooks.md b/doc/administration/custom_hooks.md index 4d35b20d0c36fa..f9bf2d021cb17a 100644 --- a/doc/administration/custom_hooks.md +++ b/doc/administration/custom_hooks.md @@ -5,7 +5,7 @@ server. Only GitLab server administrators will be able to complete these tasks. Please explore [webhooks] as an option if you do not have filesystem access. For a user configurable Git hook interface, please see -[GitLab Enterprise Edition Git Hooks](http://docs.gitlab.com/ee/git_hooks/git_hooks.html). +[GitLab Enterprise Edition Push Rules](http://docs.gitlab.com/ee/push_rules/push_rules.html). Git natively supports hooks that are executed on different actions. Examples of server-side git hooks include pre-receive, post-receive, and update. -- GitLab