4 ms·
My go-to solution for this problem is a git init --bare --shared=group repository in a shared mountable drive. Then you can declare that repo origin, and tada,
by OkayPhysicist 1y ago
My go-to solution for this problem is a git init --bare --shared=group repository in a shared mountable drive. Then you can declare that repo origin, and tada, git push/pull works.
- metabagel 1y ago> git init --bare --shared=group This is a very git command.
- OkayPhysicist 1y agoIt does exactly what it says on the tin: It calls "git" to "init"ialize a repository, which we don't need a working tree for ("bare") and that it's going to be "shared" with members of the "group".