Re: git clone does not understand insteadOf URLs

2013-05-28 Thread Junio C Hamano
Andreas Schwab writes: > Gioele Barabucci writes: > >> Simple, I keep all my projects on the same server, so I would like to >> refer to that server + path using 'remote-repo'. >> >> "git+ssh://git.example.org//users/gioele/projects" insteadOf "remote-repo" > > You can use "remote-repo:" instead

Re: git clone does not understand insteadOf URLs

2013-05-26 Thread Gioele Barabucci
Il 26/05/2013 21:00, John Keeping ha scritto: Regardless of the implementation of the commands, if I do mkdir projectA cd projectA git init . git remote add origin remote-repo/projectA.git git pull origin master I get a working repository. If I do git clone

Re: git clone does not understand insteadOf URLs

2013-05-26 Thread John Keeping
On Sun, May 26, 2013 at 08:21:45PM +0200, Gioele Barabucci wrote: > Il 26/05/2013 20:14, John Keeping ha scritto: > > On Sun, May 26, 2013 at 08:09:56PM +0200, Gioele Barabucci wrote: > >> Il 26/05/2013 20:00, Andreas Schwab ha scritto: > Simple, I keep all my projects on the same server, so I

Re: git clone does not understand insteadOf URLs

2013-05-26 Thread Gioele Barabucci
Il 26/05/2013 20:14, John Keeping ha scritto: On Sun, May 26, 2013 at 08:09:56PM +0200, Gioele Barabucci wrote: Il 26/05/2013 20:00, Andreas Schwab ha scritto: Simple, I keep all my projects on the same server, so I would like to refer to that server + path using 'remote-repo'. "git+ssh://git.

Re: git clone does not understand insteadOf URLs

2013-05-26 Thread John Keeping
On Sun, May 26, 2013 at 08:09:56PM +0200, Gioele Barabucci wrote: > Il 26/05/2013 20:00, Andreas Schwab ha scritto: > >> Simple, I keep all my projects on the same server, so I would like to > >> refer to that server + path using 'remote-repo'. > >> > >> "git+ssh://git.example.org//users/gioele/pro

Re: git clone does not understand insteadOf URLs

2013-05-26 Thread Gioele Barabucci
Il 26/05/2013 20:00, Andreas Schwab ha scritto: Simple, I keep all my projects on the same server, so I would like to refer to that server + path using 'remote-repo'. "git+ssh://git.example.org//users/gioele/projects" insteadOf "remote-repo" You can use "remote-repo:" instead. Do you mean I

Re: git clone does not understand insteadOf URLs

2013-05-26 Thread Andreas Schwab
Gioele Barabucci writes: > Simple, I keep all my projects on the same server, so I would like to > refer to that server + path using 'remote-repo'. > > "git+ssh://git.example.org//users/gioele/projects" insteadOf "remote-repo" You can use "remote-repo:" instead. Andreas. -- Andreas Schwab, sc

Re: git clone does not understand insteadOf URLs

2013-05-26 Thread Gioele Barabucci
Il 26/05/2013 17:13, Elia Pinto ha scritto: >> $ git clone remote-repo/ProjectA.git >> fatal repository 'remote-repo/ProjectA.git' does not exist > Why someone should be do something like this ? What is the use case ? Simple, I keep all my projects on the same server, so I would lik

Re: git clone does not understand insteadOf URLs

2013-05-26 Thread Elia Pinto
Why someone should be do something like this ? What is the use case ? Best regards 2013/5/25, Gioele Barabucci : > Hello, > > it seems that `git clone` does not understand keywords used `insteadOf` > longer URLs. > > $ git clone remote-repo/ProjectA.git > fatal repository 'remote-repo/P

git clone does not understand insteadOf URLs

2013-05-25 Thread Gioele Barabucci
Hello, it seems that `git clone` does not understand keywords used `insteadOf` longer URLs. $ git clone remote-repo/ProjectA.git fatal repository 'remote-repo/ProjectA.git' does not exist I suppose that git interprets the argument as a local directory. Git should see if the argument