設置github的項目git命令走sock代理
git config --global http.https://github.com.proxy socks5://127.0.0.1:1086(sock端口號)
取消代理
git config --global --unset http.https://github.com.proxy
設置之前:
設置之后:
PS:注意復制的github項目鏈接要使用https而不是ssh
設置github的項目git命令走sock代理
git config --global http.https://github.com.proxy socks5://127.0.0.1:1086(sock端口號)
取消代理
git config --global --unset http.https://github.com.proxy
設置之前:
設置之后:
PS:注意復制的github項目鏈接要使用https而不是ssh
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。