From: Matthieu Moy Date: Tue, 29 Sep 2009 14:30:30 GMT Subject: Re: clone from url with email address as username?(escaping @ symbol) Message-ID: In-Reply-To: Sverre Rabbelier writes: > Heya, > > On Tue, Sep 29, 2009 at 16:20, Ben Bennett wrote: >> Is there any escape sequence for the @ symbol when cloning? > > I thought @ is not allowed to be in an url? What do you need to > escape it for? If your username is "foo@bar.com", then the clone URL might well be ssh://foo@bar.com@server.com/path/to/repo The question is which @ is the login/server separator, and which one is included in the login. A quick test with git clone ssh://foo@bar.com@localhost/path/to/repo shows me that Git does the right thing, i.e. uses "foo@bar.com" as the login, without the need to escape it. -- Matthieu Moy http://www-verimag.imag.fr/~moy/