summaryrefslogtreecommitdiff
path: root/doc/push_rules
diff options
context:
space:
mode:
authorMarcel Amirault <ravlen@gmail.com>2019-06-12 05:47:06 +0000
committerMarcel Amirault <ravlen@gmail.com>2019-06-12 05:47:06 +0000
commit014ab2eb06786f31521332ab1779c39318377240 (patch)
tree316b5771e9e78875754f8ddcfc85fc0e05d94cd6 /doc/push_rules
parent1bf9f6b1f73115da894c2658d26961feb6b6c6cc (diff)
downloadgitlab-ce-014ab2eb06786f31521332ab1779c39318377240.tar.gz
Update note style in various docs
Diffstat (limited to 'doc/push_rules')
-rw-r--r--doc/push_rules/push_rules.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/push_rules/push_rules.md b/doc/push_rules/push_rules.md
index 6ebca19b91e..b2d626a0a74 100644
--- a/doc/push_rules/push_rules.md
+++ b/doc/push_rules/push_rules.md
@@ -51,7 +51,7 @@ will get rejected.
## Enabling push rules
->**Note:**
+NOTE: **Note:**
GitLab administrators can set push rules globally under
**Admin area > Push Rules** that all new projects will inherit. You can later
override them in a project's settings.
@@ -76,7 +76,7 @@ The following options are available.
| Prohibited file names | **Starter** 7.10 | Any committed filenames that match this regular expression are not allowed to be pushed. Leave empty to allow any filenames. |
| Maximum file size | **Starter** 7.12 | Pushes that contain added or updated files that exceed this file size (in MB) are rejected. Set to 0 to allow files of any size. |
->**Tip:**
+TIP: **Tip:**
GitLab uses [RE2 syntax](https://github.com/google/re2/wiki/Syntax) for regular expressions in push rules, and you can test them at the [GoLang regex tester](https://regex-golang.appspot.com).
## Prevent pushing secrets to the repository
@@ -91,7 +91,7 @@ pushes to the repository when a file matches a regular expression as read from
[`files_blacklist.yml`][list] (make sure you are at the right branch
as your GitLab version when viewing this file).
-NOTE: **Note**:
+NOTE: **Note:**
Files already committed won't get restricted by this push rule.
Below is an example list of what will be rejected by these regular expressions: