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

Re: git clone does not understand insteadOf URLs

From
Elia Pinto <gitter.spiros@gmail.com>
Date
May 26, 2013, 15:13 UTC
Message-ID
<CA+EOSB=ow9Vc2J8qb3GAp4xj2GgY8qes=5Q-k-rH6VsVLjzCsg@mail.gmail.com>
In-Reply-To
<51A11DD0.4040802@svario.it>
Why someone should be do something like this ? What is the use case ?
Best regards
2013/5/25, Gioele Barabucci <gioele@svario.it>:
Show 21 quoted lines
> 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 matches one of the known URLs before raising
> an error.
>
> Regards,
>
> --
> Gioele Barabucci <gioele@svario.it>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
-- 
Inviato dal mio dispositivo mobile
Previous: Gioele BarabucciNext: Gioele Barabucci
Message 2 of 10 in “git clone does not understand insteadOf URLs”
  1. Gioele BarabucciMay 25, 2013
  2. Elia PintoMay 26, 2013
  3. Gioele BarabucciMay 26, 2013
  4. Andreas SchwabMay 26, 2013
  5. Gioele BarabucciMay 26, 2013
  6. John KeepingMay 26, 2013
  7. Gioele BarabucciMay 26, 2013
  8. John KeepingMay 26, 2013
  9. Gioele BarabucciMay 26, 2013
  10. Junio C HamanoMay 28, 2013

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.