无法查找HTTPS致命错误时推git仓库 [英] unable to look up https fatal error when push to git repository

查看:144
本文介绍了无法查找HTTPS致命错误时推git仓库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在混帐bash中,我得到了一个致命的错误时尝试推到远程存储库。

 致命的:无法查找HTTPS(端口<无>)(这里有一些无法识别的字符%#^%)

在git的外壳,除了致命的错误我上面列出,它出现其他警告

 华林:您的控制台字体可能不支持unicoode。如果您在输出中遇到奇怪的字符,考虑切换到TrueType字体,如龙力控制台


解决方案

请确保该URL的语法实际上是一个HTTPS酮(按的这个答案):

 远程Git -v

它应该是:

 的https://服务器<:港口和GT; /回购

in git bash, I got a fatal error when try to push to a remote repository.

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

in git shell, besides the fatal error I listed above, it occurs another warning

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

解决方案

Make sure the syntax of the url is actually an https one (as in this answer):

git remote -v

It should be:

https://servername<:port>/repo

这篇关于无法查找HTTPS致命错误时推git仓库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆