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

Re: Invalid path on new Git installation

From
Johannes Sixt <j.sixt@viscovery.net>
Date
May 27, 2008, 15:51 UTC
Message-ID
<483C2E1E.3040302@viscovery.net>
In-Reply-To
<8345bd80805270842y5e495109x350ef378795ada27@mail.gmail.com>
Marcus schrieb:
Show 10 quoted lines
> On Tue, May 27, 2008 at 4:14 PM, Luciano Rocha <luciano@eurotux.com> wrote:
>> What is the correct path on the remote?
> 
> The full path to the Git repo is:
> /home/admin/mydomain.com/git/projectname.git
> 
> I tried:
> git clone ssh://admin@mydomain.com/~/git/projectname.git
> 
> It gives the same error.
Try
git clone admin@mydomain.com:/home/admin/mydomain.com/git/projectname.git
or (assuming /home/admin is your home directory)
git clone admin@mydomain.com:mydomain.com/git/projectname.git
or (if you can't live without the ssh: protocol specifier)
git clone \
  ssh://admin@mydomain.com/home/admin/mydomain.com/git/projectname.git
-- Hannes
Previous: Marcus
Message 4 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.