diff options
author | 2022-04-13 15:21:26 -0700 | |
---|---|---|
committer | 2022-04-13 15:21:26 -0700 | |
commit | 15304344342b7c888f732d28f908890d874bcb0c (patch) | |
tree | 111b132a085232ca4ff09105f539c9cac6bfaca1 /Documentation/config/safe.txt | |
parent | Git 2.32.1 (diff) | |
parent | Git 2.31.3 (diff) | |
download | tgif-15304344342b7c888f732d28f908890d874bcb0c.tar.xz |
Git 2.32.2
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 63597b2df8..6d764fe0cc 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. |