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
63639d7b
Commit
63639d7b
authored
Nov 13, 2020
by
Vlad Stoianovici
Committed by
Marcia Ramos
Nov 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed docs to make it clear which CODEOWNERS file is taken into account in MRs
parent
19ee559f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
doc/user/project/code_owners.md
doc/user/project/code_owners.md
+8
-4
No files found.
doc/user/project/code_owners.md
View file @
63639d7b
...
...
@@ -48,10 +48,14 @@ You can choose to add the `CODEOWNERS` file in three places:
-
Inside the
`.gitlab/`
directory
-
Inside the
`docs/`
directory
The
`CODEOWNERS`
file is scoped to a branch, which means that as
new files are introduced, the user adding the new content can
specify themselves as a code owner, all before the new changes
get merged to the target branch.
The
`CODEOWNERS`
file is valid for the branch where it lives. For example, if you change the code owners
in a feature branch, they won't be valid in the main branch until the feature branch is merged.
If you introduce new files to your repository and you want to identify the code owners for that file,
you have to update
`CODEOWNERS`
accordingly. If you update the code owners when you are adding the files (in the same
branch), GitLab will count the owners as soon as the branch is merged. If
you don't, you can do that later, but your new files will not belong to anyone until you update your
`CODEOWNERS`
file in the TARGET branch.
When a file matches multiple entries in the
`CODEOWNERS`
file,
the users from last pattern matching the file are displayed on the
...
...
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