doc Clarify the special branch 'master'
The 'master' branch name is confusing as it indicates some special branch name, where it is actually just a 'ref'. 'branches' _is_ a special name as it indicates 'all' branches. Lets clarify the example a little to indicate this. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
This commit is contained in:
parent
3ad300377b
commit
1f708ebb66
|
@ -367,10 +367,11 @@ job:
|
|||
- branches@gitlab-org/gitlab-ce
|
||||
except:
|
||||
- master@gitlab-org/gitlab-ce
|
||||
- release/.*@gitlab-org/gitlab-ce
|
||||
```
|
||||
|
||||
The above example will run `job` for all branches on `gitlab-org/gitlab-ce`,
|
||||
except master.
|
||||
except `master` and those with names prefixed with `release/`.
|
||||
|
||||
If a job does not have an `only` rule, `only: ['branches', 'tags']` is set by
|
||||
default. If it doesn't have an `except` rule, it is empty.
|
||||
|
|
Loading…
Reference in New Issue