Kesong Xie
Kesong Xie

Reputation: 1396

unable to look up https fatal error when push to git repository

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

Upvotes: 1

Views: 1336

Answers (2)

Andrey.Kostyuchenko
Andrey.Kostyuchenko

Reputation: 502

I had same error and change https to ssh solved my problem

Upvotes: 0

VonC
VonC

Reputation: 1329262

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

Upvotes: 1

Related Questions