Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
36f69b7c
Commit
36f69b7c
authored
Sep 27, 2019
by
John Cai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct documentation for global hooks
parent
17fc6231
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
doc/administration/custom_hooks.md
doc/administration/custom_hooks.md
+3
-4
doc/development/contributing/index.md
doc/development/contributing/index.md
+1
-1
No files found.
doc/administration/custom_hooks.md
View file @
36f69b7c
...
@@ -48,10 +48,9 @@ as appropriate.
...
@@ -48,10 +48,9 @@ as appropriate.
## Set a global Git hook for all repositories
## Set a global Git hook for all repositories
To create a Git hook that applies to all of your repositories in
To create a Git hook that applies to all of your repositories in
your instance, set a global Git hook. Since all the repositories'
`hooks`
your instance, set a global Git hook. Since GitLab will look inside the GitLab Shell
directories are symlinked to GitLab Shell's
`hooks`
directory, adding any hook
`hooks`
directory for global hooks, adding any hook there will apply it to all repositories.
to the GitLab Shell
`hooks`
directory will also apply it to all repositories. Follow
Follow the steps below to properly set up a custom hook for all repositories:
the steps below to properly set up a custom hook for all repositories:
1.
On the GitLab server, navigate to the configured custom hook directory. The
1.
On the GitLab server, navigate to the configured custom hook directory. The
default is in the GitLab Shell directory. The GitLab Shell
`hook`
directory
default is in the GitLab Shell directory. The GitLab Shell
`hook`
directory
...
...
doc/development/contributing/index.md
View file @
36f69b7c
...
@@ -62,7 +62,7 @@ Please help other GitLab users when you can.
...
@@ -62,7 +62,7 @@ Please help other GitLab users when you can.
The methods people will use to seek help can be found on the
[
getting help page
](
https://about.gitlab.com/get-help/
)
.
The methods people will use to seek help can be found on the
[
getting help page
](
https://about.gitlab.com/get-help/
)
.
Sign up for the mailing list, answer GitLab questions on StackOverflow or
Sign up for the mailing list, answer GitLab questions on StackOverflow or
respond in the IRC channel.
respond in the IRC channel.
## I want to contribute
## I want to contribute
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment