Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git on windows : "I don't handle protocol 'git clone http'"

I'm trying to install git and tortoisegit on a windows 7 machine (a VM inside windows 8's Hyper V).

I followed the instruction, but now when I try to clone something I get the error "I don't handle protocol 'git clone http'"

Any clues as to what is going on ?

like image 587
Manu Avatar asked Apr 09 '13 17:04

Manu


2 Answers

You are probably entering the command git clone http://repo/url in the place where it expects only the url, i.e http://repo/url

like image 196
manojlds Avatar answered Oct 17 '22 02:10

manojlds


git clone looks for <options> and then the <repo>. Normally you can skip the options, but with the latest version of the Windows git bash I've had to add an option for the git clone https... to work.

If you aren't using options just use git clone -q https.... for the "quiet" option and it should work fine.

like image 37
Davi Avatar answered Oct 17 '22 02:10

Davi