git 拉取、更新子模块失败,提示失败
Submodule 'libXesBase' (https://git.xxxxx.com/xesoa/libXesBase.git) registered for path 'libXesBase'
Cloning into 'E:/assist/libXesBase'...
fatal: unable to access 'https://git.xxxxx.com/xesoa/libXesBase.git/': Failed to connect to localhost port 1080: Connection refused
fatal: clone of 'https://git.xxxxx.com/xesoa/libXesBase.git' into submodule path 'E:/assist/libXesBase' failed
Failed to clone 'libXesBase'. Retry scheduled
Cloning into 'E:/assist/libXesBase'...
fatal: unable to access 'https://git.xxxx.com/xesoa/libXesBase.git/': Failed to connect to localhost port 1080: Connection refused
fatal: clone of 'https://git.xxxx.com/xesoa/libXesBase.git' into submodule path 'E:/assist/libXesBase' failed
Failed to clone 'libXesBase' a second time, aborting
确定问题,查询是否使用了代理:
git config --global http.proxy
git config --global https.proxy
解决方式:取消代理:
git config --global --unset http.proxy
git config --global --unset https.proxy