git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Invalid path on new Git installation

From
MMarcus <prima@wordit.com>
Date
May 27, 2008, 14:58 UTC
Message-ID
<8345bd80805270758j1315234bwf3b16607c95c9620@mail.gmail.com>

Can anybody help me with defining a valid path to a Git repo on a new installation? I just built Git on a webserver (a VPS so I have root access). When I try clone or push I get this error:

fatal: '/git/watchsite.git': unable to chdir or not a git archive fatal: The remote end hung up unexpectedly fetch-pack from 'ssh://me@mydomain.com/git/projectname.git' failed.

Why this when I can use wget on this path: wget mydomain.com/git/projectname.git/file.html The above successfully downloads the file, so the path is valid, right? I also did "git init" on the remote repo (not sure if that's necessary?).

I tried the following commands locally and all fail with the error above:
git clone ssh://me@mydomain.com/git/projectname.git/
git clone http://mydomain.com/git/projectname.git/
git push ssh://me@mydomain.com/git/projectname.git/ master
Is there a syntax error or something I need to set up on the remote server?
Thanks,
Marcus
Next: Luciano Rocha
Message 1 of 4 in “Invalid path on new Git installation”
  1. MarcusMay 27, 2008
  2. Luciano RochaMay 27, 2008
  3. MarcusMay 27, 2008
  4. Johannes SixtMay 27, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.