【问题标题】:How to solve git clone error in gitbash如何解决 gitbash 中的 git clone 错误
【发布时间】:2017-09-25 21:52:13
【问题描述】:

我安装了 gitbash 并生成了 ssh 密钥并将其复制到我的 bitbucket 帐户中。

我尝试克隆一个存储库。

我收到如下错误:

Git clone “fatal: I don't handle protocol 'ssh'”

请帮我解决这个问题并克隆到我的仓库

【问题讨论】:

  • 您能否提供一份您使用的命令的副本?您可能无意中将 unicode 字符复制到命令中。见this question

标签: git-bash git-clone


【解决方案1】:

你必须复制粘贴克隆网址,克隆网址会有空格。

只需确保克隆 URL 中没有空格,如果您不确定,只需键入克隆 URL 后跟 'git clone'

git clone https://github.com/your-repository-clone-no-white-space

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-09-29
    • 2021-09-08
    • 1970-01-01
    • 2015-09-09
    • 1970-01-01
    • 2016-04-05
    • 1970-01-01
    • 2016-10-27
    相关资源
    最近更新 更多