我从一个网页上复制并粘贴了一个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。
其他回答
如果你使用的是Windows,使用“url”语音标记来打开和关闭你的url Git克隆“your-url-here”
克隆如下:
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,而不是复制粘贴到命令行中。这对我很管用。
解决方法很简单:
1-复制git路径。例如:http://github.com/yourname/my-git-project.git
2-打开记事本并粘贴它。然后从记事本复制路径。
3-粘贴路径到命令行
这是它。
请不要从剪贴板上复制。 只需从浏览器的位置/地址栏复制url。