解决push到GitHub网络问题

1.症状:

git push -u origin master

error: src refspec master does not match any

error: failed to push some refs to 'https://github.com/duangww/zfi_profit_ex.git'

2.设置代理

2.1 查看代理的端口
2.2 通过命令

git config --global http.proxy http://127.0.0.1:7897

git config --global https.proxy http://127.0.0.1:7897

3.效果

再次push

可以看到成功push到Github仓库了