Re: Remote git server dubious ownership
- From
Michal Suchánek <msuchanek@suse.de>
- Date
- Oct 8, 2024, 18:27 UTC
- Message-ID
- <ZwV5iiX7ssf4yk53@kitsune.suse.cz>
- In-Reply-To
- <447ddc34-ab3a-4607-908f-64b9cc0268fd@gmail.com>
Hello,
On Tue, Oct 08, 2024 at 05:14:49PM +0200, Alessio De Marchi (GMail) wrote:
Show 15 quoted lines
> Hello > > I'm using git v2.46.2 on windows, and I have a server linux (git v2.45.2) > where me and other developer push our repositories. > > If i push my changes on a repository that is owned by another user the > server git respond: > > fatal: detected dubious ownership in repository... > > > So I can push changes only in repository owned by myself. > > It is possible to share a repository to more that one user? (I remember that > it was possible untill some years ago)
look for the git safe.directory option. That makes it possible to specify which repositories are shared.
HTH
Michal