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
可順利運行。