summaryrefslogtreecommitdiff
path: root/Documentation/config/safe.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-04-13 22:21:28 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-04-13 22:21:28 (GMT)
commit1f65dd6ae635f77c588ac432cad1a299723d00d6 (patch)
treed276b872a065585c0c85c1f4c2d0d544e46fd7ba /Documentation/config/safe.txt
parent87ed4fc046840706138d46e0033a009e74c3887a (diff)
parent15304344342b7c888f732d28f908890d874bcb0c (diff)
downloadgit-5e18c82bb9ac28d482413466150f08a7d49230e9.zip
git-5e18c82bb9ac28d482413466150f08a7d49230e9.tar.gz
git-5e18c82bb9ac28d482413466150f08a7d49230e9.tar.bz2
Git 2.33.3v2.33.3
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config/safe.txt')
-rw-r--r--Documentation/config/safe.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/config/safe.txt b/Documentation/config/safe.txt
index 63597b2..6d764fe 100644
--- a/Documentation/config/safe.txt
+++ b/Documentation/config/safe.txt
@@ -19,3 +19,10 @@ line option `-c safe.directory=<path>`.
The value of this setting is interpolated, i.e. `~/<path>` expands to a
path relative to the home directory and `%(prefix)/<path>` expands to a
path relative to Git's (runtime) prefix.
++
+To completely opt-out of this security check, set `safe.directory` to the
+string `*`. This will allow all repositories to be treated as if their
+directory was listed in the `safe.directory` list. If `safe.directory=*`
+is set in system config and you want to re-enable this protection, then
+initialize your list with an empty value before listing the repositories
+that you deem safe.