Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-01-14 09:14:22 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-01-14 09:14:22 +0300
commitd11616c828fa76b0fea100872b59d904560e6570 (patch)
treef926c91628b7e35395adcc40cfaee80e629050b7 /doc/push_rules/push_rules.md
parent4df4bbed3ee2333c23f50952d55178418eedfbe4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/push_rules/push_rules.md')
-rw-r--r--doc/push_rules/push_rules.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/push_rules/push_rules.md b/doc/push_rules/push_rules.md
index 94de8e46240..992415d8b17 100644
--- a/doc/push_rules/push_rules.md
+++ b/doc/push_rules/push_rules.md
@@ -147,10 +147,10 @@ Secrets such as credential files, SSH private keys, and other files containing s
GitLab enables you to turn on a predefined denylist of files which can't be
pushed to a repository. The list stops those commits from reaching the remote repository.
-By selecting the checkbox *Prevent committing secrets to Git*, GitLab prevents
+By selecting the checkbox *Prevent pushing secret files*, GitLab prevents
pushes to the repository when a file matches a regular expression as read from
[`files_denylist.yml`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/lib/gitlab/checks/files_denylist.yml) (make sure you are at the right branch
-as your GitLab version when viewing this file).
+as your GitLab version when viewing this file). This checkbox is able to be set globally via **Admin Area > Push Rules**, or per-project via **Settings > Repository > Push Rules**.
NOTE:
Files already committed aren't restricted by this push rule.