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

Re: Bug: [hostname:port]:repo.git notation no longer works (for ssh)

From
Phil Hord <phil.hord@gmail.com>
Date
Sep 27, 2013, 14:31 UTC
Message-ID
<CABURp0pNcLEELwg-putH_Wtab-gTrMXTB7uGPMZSLfgXnFttew@mail.gmail.com>
In-Reply-To
<87vc1mg01t.fsf@aeneas.oslo.osa>
On Fri, Sep 27, 2013 at 4:07 AM, Morten Stenshorne <mstensho@opera.com> wrote:
Show 9 quoted lines
> If I don't go via the ssh tunnel (I finally have some VPN stuff these
> days, so I don't really need the tunnel thing anymore, but that's going
> to be a lot of remotes to update, so I'd prefer it just worked like it
> used to):
>
> -            url = [localhost:2223]:blink.git
> +            url = git:blink.git
>
> ... it works fine.
Until you get a proper fix, I wonder if this will help:
  git config --global --add url."git:".insteadOf  "[localhost:2223]:"
See "git help config" for details on the insteadOf config setting.
Phil
Previous: Duy NguyenNext: Morten Stenshorne
Message 5 of 6 in “Bug: [hostname:port]:repo.git notation no longer works (for ssh)”
  1. Morten StenshorneSep 27, 2013
  2. Duy NguyenSep 27, 2013
  3. Stefan NäweSep 27, 2013
  4. Duy NguyenSep 27, 2013
  5. Phil HordSep 27, 2013
  6. Morten StenshorneSep 27, 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.