diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-04-13 22:21:31 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-04-13 22:21:31 (GMT) |
commit | 2f0dde7852b7866bb044926f73334ff3fc30654b (patch) | |
tree | f0dfa3cb9c28475d7d3bd80a2572d4e4751e3bf7 /Documentation/config/safe.txt | |
parent | 4d0b43aa765a0056c88381eea862364c95e358ca (diff) | |
parent | 1f65dd6ae635f77c588ac432cad1a299723d00d6 (diff) | |
download | git-a1171ecd147c9312ab4c7ded38dd13c1ced900a4.zip git-a1171ecd147c9312ab4c7ded38dd13c1ced900a4.tar.gz git-a1171ecd147c9312ab4c7ded38dd13c1ced900a4.tar.bz2 |
Git 2.34.3v2.34.3
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config/safe.txt')
-rw-r--r-- | Documentation/config/safe.txt | 7 |
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. |