问题描述:
USER@DESKTOP-xxxxx MINGW64 ~/.ssh $ git push origin master fatal: not a git repository (or any of the parent directories): .git
若本地代理端口不为1080,需要修改这个端口! git config --global http.proxy http://127.0.0.1:1080//1080是需要修改的本地代理端口 git config --global https.proxy http://127.0.0.1:1080//1080是需要修改的本地代理端口
2.取消全局代理
取消全局代理: git config --global --unset http.proxy git config --global --unset https.proxy
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)