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