summaryrefslogtreecommitdiff
path: root/Documentation/config/safe.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-04-13 22:21:08 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-04-13 22:21:08 (GMT)
commit09f66d65f87e0a547c186e4027368a826a965256 (patch)
tree8d387d1cc28d85ba1e2f21c56f9efa6537c84aed /Documentation/config/safe.txt
parent44de39c45c65134f4a6e02e7702a5db70a71041d (diff)
parent17083c79ae842b51d82518e2efe5281346acea0e (diff)
downloadgit-2.31.3.zip
git-2.31.3.tar.gz
git-2.31.3.tar.bz2
Git 2.31.3v2.31.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.