guettli guettli - 1 year ago 162
Git Question

git: fatal: I don't handle protocol '​​http'

I copy and pasted an git clone command from a web page:

I got this:

user@host> git clone ​​

Cloning into 'ibus-typing-booster'...
fatal: I don't handle protocol '​​http'

Answer Source

I copied and pasted the whole line git clone http://....

The character between git clone and http://... looks like a space, but it is a special Unicode character!

After removing this character, and entering a real space, it worked!

Here is the real line:

vi t.txt # copy+paste the line
git clone \xe2\x80\x8b\xe2\x80\x8bhttp://...
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download