Re: git clone git clone some://url

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Re: Junio C Hamano 2019-11-20 <xmqqimnfcikf.fsf@xxxxxxxxxxxxxxxxxxxxxxxxx>
> Christoph Berg <myon@xxxxxxxxxx> 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 <paste>" 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
> 
> ;-)
> 
> I seriously doubt "git" should do anything funky when fed such
> command lines.

"git git git" is obviously silly. The problem is really just about
this single issue:

1. go to some website, copy the git url
2. type "git clone" in the terminal
3. paste the url, hit enter
4. be annoyed when you ended up with "git clone git clone url://"

Christoph



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux