【问题标题】:fatal: I don't handle protocol 'https' [duplicate]致命的:我不处理协议“https”[重复]
【发布时间】:2017-06-30 19:40:25
【问题描述】:

我正在尝试将我的一些文件从暂存区推送到我的存储库。

git remote add origin https://github.com/my_name/filename.git
git push -u origin master
fatal: I don't handle protocol 'https'

我收到了这个致命错误。

如何解决这个问题?

【问题讨论】:

    标签: git github


    【解决方案1】:

    根据这两个 SO 帖子,您的命令中很可能有特殊字符:

    git: fatal: I don't handle protocol '​​http'

    Git Fetch returns 'fatal: I don't handle protocol https' in windows

    重新输入命令,问题应该会得到缓解。

    【讨论】:

    • 我的https://之前有一个空格
    猜你喜欢
    • 2016-12-12
    • 2016-05-22
    • 1970-01-01
    • 2019-08-16
    • 2019-05-28
    • 2011-02-22
    • 2011-09-07
    • 2019-05-23
    • 1970-01-01
    相关资源
    最近更新 更多