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

 

posted @ 2019-07-31 18:32  Coding_Changes_LIfe  阅读(1952)  评论(0编辑  收藏  举报