【问题标题】:unable to look up https fatal error when push to git repository推送到 git 存储库时无法查找 https 致命错误
【发布时间】:2014-06-28 17:23:45
【问题描述】:

在 git bash 中,尝试推送到远程存储库时出现致命错误。

fatal:unable to look up https (port <none>)  (here with some unrecognized character %#^%)

在 git shell 中,除了我上面列出的致命错误,它还会出现另一个警告

waring: Your console font probably doesn't support unicoode. if you experience strange characters in the output, consider switching to a Truetype font such as Lucida Console

【问题讨论】:

    标签: git bash shell


    【解决方案1】:

    确保 url 的语法实际上是 https 语法(如this answer):

    git remote -v
    

    应该是:

    https://servername<:port>/repo
    

    【讨论】:

      【解决方案2】:

      我有同样的错误,将 https 更改为 ssh 解决了我的问题

      【讨论】:

        猜你喜欢
        • 2012-04-15
        • 2016-04-27
        • 2013-10-07
        • 2021-03-11
        • 2017-07-15
        • 2021-06-07
        • 2011-03-14
        相关资源
        最近更新 更多