Connecting to e.coding.net (port 9418) ... fatal: unable to connect to e.coding.net:

git pull 和 git push 报错 Connecting to e.coding.net (port 9418) … fatal: unable to connect to e.coding.net:

Because my other previous projects configured:
url.git://.insteadof=https://
url.https://.insteadof=git://
url.https://github.com.insteadof=git:/ /github.com
Just delete these configurations

View git configuration

git config --list

insert image description here

insert image description here
insert image description here
Because I set the global git config, so I found the global, if it is set to local, then find the local, it should be and then
insert image description here
open this file
insert image description here

Guess you like

Origin blog.csdn.net/Ann_52547/article/details/131938722