fatal: unable to access 'https://gitee.com/secularr/homework.git/':
Failed to connect to 127.0.0.1 port 15732 after 2090 ms: Connection refused
原因:查此端口无进程占用,怀疑之前某些时刻设置过代理,经过查询查询代理命令——
git config --global http.proxy
zhengty@Dell7590 MINGW64 ~/Desktop
$ git config --global http.proxy
http://127.0.0.1:15732
$ git config --global --unset http.proxy
回去Gitbash 继续执行
$ git push -u origin master
可顺利运行。