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>2020-04-23 06:09:51 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-23 06:09:51 +0300
commit8ab8bc5d070c62040b2693d90d452f627c2ba240 (patch)
tree05f597f554c8522df6041492d0feb7624e57e9e0 /doc/push_rules/push_rules.md
parentb158645575a569bd46de15b42355940501902166 (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.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/push_rules/push_rules.md b/doc/push_rules/push_rules.md
index d5b9b20f051..f0d45efb1b0 100644
--- a/doc/push_rules/push_rules.md
+++ b/doc/push_rules/push_rules.md
@@ -90,8 +90,9 @@ GitLab uses [RE2 syntax](https://github.com/google/re2/wiki/Syntax) for regular
> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/385) in [GitLab Starter](https://about.gitlab.com/pricing/) 8.12.
-You can turn on a predefined blacklist of files which won't be allowed to be
-pushed to a repository.
+Secrets such as credential files, SSH private keys, and other files containing secrets should never be committed to source control.
+GitLab allows you to turn on a predefined blacklist of files which won't be allowed to be
+pushed to a repository, stopping those commits from reaching the remote repository.
By selecting the checkbox *Prevent committing secrets to Git*, GitLab prevents
pushes to the repository when a file matches a regular expression as read from