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

Re: clone from url with email address as username?(escaping @ symbol)

From
BBBen Bennett <benbennett@gmail.com>
Date
Sep 29, 2009, 15:31 UTC
Message-ID
<970bc7c80909290831l59b7fc4at4ec0082f42f3ef87@mail.gmail.com>
In-Reply-To
<fabb9a1e0909290732h5119170ew133d906b67e49f99@mail.gmail.com>

I am attempting to do a https clone. The username is an email address but when I do a clone here is what happens.

Here is what I get , I might be messing up the clone command . btw , if i leave switch it to ssh , yes it does resolve the url correctly.

git clone https://benjamin.j.bennett@fooserver.com@fooserver.com/git_repos/main-code.git/ test Initialized empty Git repository in /home/benjamin/planning_workspace/test/.git/ Password: error: Couldn't resolve host 'fooserver.com@fooserver.com' while accessing https://benjamin.j.bennett@fooserver.com@myfooserver.com/git_repos/main-code.git//info/refs

On Tue, Sep 29, 2009 at 9:32 AM, Sverre Rabbelier <srabbelier@gmail.com> wrote:
Show 16 quoted lines
> Heya,
>
> On Tue, Sep 29, 2009 at 16:30, Matthieu Moy
> <Matthieu.Moy@grenoble-inp.fr> wrote:
>> The question is which @ is the login/server separator, and which one
>> is included in the login. A quick test with
>
> I think it only makes sense that this would work, since any @ can
> never be part of the server name (since it's not an allowed
> character), so I'm still curious why Ben wants to escape his @.
>
> --
> Cheers,
>
> Sverre Rabbelier
>
Previous: Sverre RabbelierNext: Matthieu Moy
Message 5 of 15 in “clone from url with email address as username?(escaping @ symbol)”
  1. Ben BennettSep 29, 2009
  2. Sverre RabbelierSep 29, 2009
  3. Matthieu MoySep 29, 2009
  4. Sverre RabbelierSep 29, 2009
  5. Ben BennettSep 29, 2009
  6. Matthieu MoySep 29, 2009
  7. Matthieu MoySep 29, 2009
  8. Daniel StenbergSep 29, 2009
  9. Matthieu MoySep 29, 2009
  10. Daniel StenbergSep 29, 2009
  11. Matthieu MoySep 29, 2009
  12. Ben BennettSep 29, 2009
  13. Matthieu MoySep 29, 2009
  14. Matthieu MoySep 29, 2009
  15. Ben BennettSep 29, 2009

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.