gitolite git clone ssh:// works but git clone git:// doesn't for few directories -


i have problem:

i git clone git@myserver.com:myrepo repos on gitolite server. after installed git-daemon able same git protocol. can git clone git://myserver.com/myrepo repos has not been cloned ssh protocol.
other repos get:

cloning 'myrepo'... fatal: remote end hung unexpectedly 

at same time didn't see repositories on gitweb, did:
usermod -a -g git www-data # www-data user hosts apache2
chmod -r 0755 /path/to/my/gitolite/repositories/

and see repos on gitweb.

i guess issues related, can't find out why or how.

i don't have complicated .gitolite.rc configuration, changed umask 0077 0027

all repositories belong git user in git group.

if need more details, ask them :) or suggestion appretiated!

i misconfigured git-daemon. in /etc/sv/git-daemon/run file had -ugitdaemon switch instead of -ugitdaemon:gitolite.

this article lead me solve problem.


Comments