I'm trying to set up a Git application that will be accessible through http. I carefully followed the instructions I found at http://docs.webfaction.com/software/git.html (several times), but here is what I'm getting when I'm trying to clone over HTTP:
I get the same error whatever <repo name=""> value I use. I can access my repository through gitweb, so the application/website setup seems fine. The cloning works fine over ssh.
Every time I am attempting to clone, this line appears twice in logs/frontend/error_git_php.log:
The webfaction support team found out what the problem was: blank lines had been inserted before the "#!/bin/bash".
I don't know where those blank lines came from (most certainly from the git install template, since I tried reinstalling from scratch several times), but my setup now works fine.
git clone http://git.username.webfactional.com/repo_name.git
answered Oct 23 '12 at 08:05