【问题标题】:Why does it say that https: // fatal: Too many arguments?为什么会说 https://fatal: Too many arguments?
【发布时间】:2019-11-27 00:21:00
【问题描述】:

你为什么给我这个错误? ,我尝试了他们在这个堆栈中回答的所有内容,但没有任何内容来自他们所说的 Git fatal: protocol 'https' is not supported

【问题讨论】:

    标签: git github https git-clone


    【解决方案1】:

    请使用英语。

    git clone 只接受一个(可选的 2)参数。你有 4 个。

    试试git clone https://github.com/DarthMoulByte/unity-cache-server.git。 如果要指定包含空格的目标文件夹,则必须像这样转义空格:

    git clone https://github.com/DarthMoulByte/unity-cache-server.git Unity\ CacheServe\ v6
    

    在 windows cmd 上你可以这样做:

    git clone https://github.com/DarthMoulByte/unity-cache-server.git "Unity CacheServe v6"
    

    【讨论】:

    • 景观空间?,我不明白这个
    • 如果你正在阅读图片,你可以说你已经尝试过了,因为反馈的消息说 https 无法识别
    • 如果它可以通过在 gif 图像中捕获它来显示它可以工作,我知道我的系统是坏的还是一般故障并且无法克隆
    • 我假设您想将 repo 克隆到名为 Unity CacheServe v6 的文件夹中。因此,您的目标文件夹包含空格。他们必须用反斜杠转义。否则,您的 shell 无法知道它是新参数还是旧参数的一部分。试试这个git clone https://github.com/DarthMoulByte/unity-cache-server.git Unity\ CacheServe\ v6。如果您使用的是 Windows,请尝试 git clone https://github.com/DarthMoulByte/unity-cache-server.git "Unity CacheServe v6"
    猜你喜欢
    • 1970-01-01
    • 2022-12-19
    • 1970-01-01
    • 2022-10-05
    • 2014-07-26
    • 2020-09-26
    • 2012-11-26
    • 1970-01-01
    • 2021-11-12
    相关资源
    最近更新 更多