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