I\'m confronted with some problems when trying to configure gitosis on my Archlinux
http://wiki.archlinux.org/index.php/Setting_Up_Git_ACL_Using_gitosis
I referr
Having moved to a new Ubuntu machine and run into this question myself, I saw a couple answers on here that got me moving in the right direction, namely using an absolute path to the .git files for each repository.
Experimenting a bit I noticed paths relative to the git user's home directory also worked, which shortened something like:
git@host:/var/git/repositories/project.git
down to
git@host:repositories/project.git
Playing a bit more I tried moving the project files from repositories right into git's home directory; now only the project is required:
git@host:project.git
It's a bit hacky, but I doubt will cause any harm. Would be good to know what changed, as I was hosting gitosis on another Ubuntu (older) and was able to have the projects inside the repositories directory with the last notation from above.