I copy and pasted an git clone command from a web page: https://fedorahosted.org/ibus-typing-booster/
I got this:
user@host> git clone http://git.fedorahosted.org/git/ibus-typing-booster.git
Cloning into 'ibus-typing-booster'...
fatal: I don't handle protocol 'http'
Use backspace to delete whatever there is between
git clone
and theurl
and then use spacebar to add a clean space between them. Simple as that.I copied and pasted the whole line
git clone http://...
.The character between
git clone
andhttp://...
looks like a space, but it is a special Unicode character!Short answer: After removing this character, and entering a real space, it worked!
For people who love details: I see two ways to reveal ascii vs special-unicode-characters
Way1: Python
Here is the real line:
Way2: less
If it looks like
git clone <E2><80><8B><E2><80><8B>http://
, then you copy+pasted special-unicode-characters.in visual studio code option git:clone i tried every thing e.g putting 5 backspace, deleting the special Unicode character! and putting space nothing works for me
solution works for me
simply open git bash and paste the whole git clone url and done,
it seems there is some issue with visual studio code
I used double quotes for the URL and it worked. So something like
works.. single quotes dont help. It has to be double quotes.
Please Check URL you have pasted and It takes additional h after clone.
So either you have paste full git clone
http://<URL>.git
or just remove additional letter before git repository URL.Please do not copy from the clipboard . Just copy the url from your browser's location / Address bar .