Rob Landley on Nostr: The "shut up git" magic invocation for complaints about "dubious ownership" when ...
The "shut up git" magic invocation for complaints about "dubious ownership" when trying to even LOG another user's repo on a shared server (let alone pull from it) is:
git config --global --add safe.directory \*
Just disable that stupid check everywhere. It only showed up a couple years ago and causes far more harm than good. (It should only ever do it on writes anyway.)
Yes I KNOW this repo's files are owned by a different user, that is not a "fatal error" it's normal use of a shared server.
git config --global --add safe.directory \*
Just disable that stupid check everywhere. It only showed up a couple years ago and causes far more harm than good. (It should only ever do it on writes anyway.)
Yes I KNOW this repo's files are owned by a different user, that is not a "fatal error" it's normal use of a shared server.