我从一个网页上复制并粘贴了一个git克隆命令:https://fedorahosted.org/ibus-typing-booster/

我得到了这个:

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'

当前回答

克隆如下:

git clone https://github.com/zendframework/ZendSkeletonApplication.git

给错误:

Cloning into 'ZendSkeletonApplication'...
fatal: I don't handle protocol 'https'

修改为:

git clone https://github.com/zendframework/ZendSkeletonApplication

工作完美,或者你可以只是复制url。 我使用的是操作系统windows 10和giitbash。

其他回答

你也可以使用文本编辑器:

将URL粘贴到文本编辑器中 复制刚才从文本编辑器中粘贴的URL 将其粘贴到命令行中

摘要:键入url,而不是复制粘贴到命令行中。这对我很管用。

我使用双引号的URL,它工作。就像这样

git clone "​​http://git.fedorahosted.org/git/ibus-typing-booster.git"

工作. .单引号没有用。必须是双引号。

在visual studio代码选项git:clone 我尝试了每一件事,例如放5退格,删除特殊的Unicode字符!留出空间对我没用

解决方案适合我

简单地打开git bash和粘贴整个git克隆url和完成,

似乎visual studio代码有一些问题

使用backspace删除git clone和url之间的任何内容,然后使用空格键在两者之间添加一个干净的空格。就这么简单。