Re: How to disable safe directories?
- From
- Harald Dunkel <harald.dunkel@aixigo.com>
- Date
- May 21, 2024, 14:25 UTC
- Message-ID
- <d71c7dff-46a7-4ac8-a8c7-ab4985458071@aixigo.com>
- In-Reply-To
- <CAH8yC8mNns_XiQHp3=q_tYr03Q+kR1r=2WOYha1XMp+cYs9WDQ@mail.gmail.com>
On 2024-05-21 12:45:18, Jeffrey Walton wrote:
Show 6 quoted lines
> > Thanks Harri. > > Would that be something like safe_directories.enabled = false? If not, > can you point to a setting? >
It is possible to disable this feature globally using something like
git config --system --add safe.directory /somepath/.git
Some say even
git config --system --add safe.directory '*'
works, but I haven't tried that.
Regards
Harri