git 卡住推不上去


luoxu@lenovo:~/testGit/.git$ env | grep -i proxy     查看有没有设置代理
ALL_PROXY=socks://127.0.0.1:1080/
no_proxy=localhost,127.0.0.0/8,::1
NO_PROXY=localhost,127.0.0.0/8,::1
luoxu@lenovo:~/testGit/.git$ unset ALL_PROXY     取消代理
luoxu@lenovo:~/testGit/.git$ env | grep -i proxy
no_proxy=localhost,127.0.0.0/8,::1
NO_PROXY=localhost,127.0.0.0/8,::1

成功push
luoxu@lenovo:~/testGit/.git$ git push origin  master 
Counting objects: 15, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (15/15), 1.22 KiB | 1.22 MiB/s, done.
Total 15 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1), done.
To https://github.com/xuluo/test.git
 * [new branch]      master -> master

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM