meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
git:issues:safedirectory [2023/07/17 21:17] niziakgit:issues:safedirectory [2025/07/04 13:51] (current) niziak
Line 26: Line 26:
  
 Silence all warning (risky!): Silence all warning (risky!):
-<code bash>git config --global --add safe.directory '*'</code>+<code bash> 
 +git config --global --replace-all safe.directory '*' 
 +</code> 
 NOTE: ''*'' is not glob pattern. It is only special value which turns off warning for all dirs. ([[https://github.com/git-for-windows/git/issues/3809#issuecomment-1102681740|The command doesn't interpret the wildcard * as an operator]]) NOTE: ''*'' is not glob pattern. It is only special value which turns off warning for all dirs. ([[https://github.com/git-for-windows/git/issues/3809#issuecomment-1102681740|The command doesn't interpret the wildcard * as an operator]])