ubuntu/linux 下 git 通過代理下載數據 (最簡單的方式)


git國內訪問較慢,走代理較快。

方法:git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:port_number(有用戶和密碼)

   git config --global http.proxy http://proxy.server.com:port_number(無用戶和密碼)

    注:proxy.server.com指代理地址,port_number指端口號。

參考內容:http://stackoverflow.com/questions/783811/getting-git-to-work-with-a-proxy-server


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM