我从一个网页上复制并粘贴了一个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克隆命令: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,克隆后需要额外的h。
所以你要么粘贴完整的git克隆http://<URL>.git,要么只是在git存储库URL前删除额外的字母。
请不要从剪贴板上复制。 只需从浏览器的位置/地址栏复制url。
在Android Studio中:
我删除了git克隆,只保留url,它工作!!
我使用双引号的URL,它工作。就像这样
git clone "http://git.fedorahosted.org/git/ibus-typing-booster.git"
工作. .单引号没有用。必须是双引号。
使用backspace删除git clone和url之间的任何内容,然后使用空格键在两者之间添加一个干净的空格。就这么简单。