version control - Git / Gitosis - Repository Read Access Denied -
i have installed git on ubuntu server. local machine using tortoisegit have cloned gitosis-admin local machine. worked fine. after checking out gitosis-admin repository manage keys , repositories in gitosis.conf, added new repository gittest .conf file. fallowing steps failed:
- create new folder on local manchine named gittest
- added testfile
- committed
- push local repository server client says:
"error:gitosis.serve.main:repository read access denied"
this error appears if init repository on server using "git init" in new created folder @ /srv/git/repositories/gittest, add file repository clone isn't empty, try clone local machine.
can solve error?
try running git init --bare
in /srv/git/repositories/gittest instead of git init
.
Comments
Post a Comment