1.git push -u origin master
fatal: unable to access 'https://github.com/luviszero/UWSN.git/': Failed to connect to XXXXXXX: 拒绝连接
fatal: unable to access 'https://github.com/luviszero/UWSN.git/': Failed to connect to XXXXXXX: 拒绝连接
由于用了lantern导致代理太多……
查看代理 env | grep -i proxy
https://www.cnblogs.com/scue/p/3891879.html
取消所有代理unset
2.cheatsheet
git remote rm origin
git remote add origin https://github.com/luviszero/XXX.git
git add .
git commit -m
git commit -am
本文介绍了解决使用Git过程中遇到的无法访问远程仓库的问题,并提供了一种取消代理设置的方法。此外,还介绍了如何移除和重新添加远程仓库起源,以及如何进行文件添加和提交等基本操作。
499

被折叠的 条评论
为什么被折叠?



