From: Denton Liu Date: Wed, 20 Nov 2019 18:07:09 GMT Subject: Re: git clone git clone some://url Message-ID: <20191120180709.GA63368@generichostname> In-Reply-To: On Wed, Nov 20, 2019 at 12:50:24PM +0900, Junio C Hamano wrote: > Christoph Berg writes: > > > On some git hosting sites [*], if you copy the repository URL, you'll > > actually get "git clone some://url" in the cut buffer. When you then > > proceed to do "git clone " in the next terminal window, the > > command executed is actually this: > > > > $ git clone git clone some://url > > fatal: Too many arguments. > > Or > > $ git git clone some://usr > $ git git git diff That's why I have `git config alias.git !git` set. It's saved me seconds of my life from having to retype these lines. ;) Unfortunately, I don't think we can take a similar approach for the `git clone git clone ...` case. > ;-) > > I seriously doubt "git" should do anything funky when fed such > command lines. >