Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


> git init --bare --shared=group

This is a very git command.


It 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".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: