From: Marc-Jano Knopp Date: Sun, 14 Sep 2025 18:26:53 GMT Subject: [SOLVED] Re: safe.directory does not work at all (git 2.39.5, 2.51.0) Message-ID: In-Reply-To: On Sun, 2025-09-14, at 00:13:14 (+0200), Carlo Marcelo Arenas Belón wrote: > On Sat, Sep 13, 2025 at 07:38:53PM -0800, Marc-Jano Knopp wrote: > > $ git clone myuser@my.server:/git/main/test.git > > Cloning into 'test'... > > fatal: detected dubious ownership in repository at '/git/main/test.git' > > To add an exception for this directory, call: > > > > git config --global --add safe.directory /git/main/test.git > > fatal: Could not read from remote repository. > > it is a little confusing, but the message comes from the git command > running in "my.server". D'oh! Is there a way for the layman to see if a message comes from the client or the server? > doest it work if you run the same command after first doing ssh with "myuser" > account into "my.server"? Yes, it does! Thanks a million! *smooch* <3 :) MJK