Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: Invalid path on new Git installation

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:44:39

Marcus schrieb:
On Tue, May 27, 2008 at 4:14 PM, Luciano Rocha [off-list ref] wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help