git配置代理相关操作
1、使用以下命令查看git配置,看是否有配置代理
$ git config --list
2. 使用以下命令配置http代理(http://127.0.0.1:10809是我的代理地址)
$ git config --global http.proxy http://127.0.0.1:10809
3. 使用以下命令配置https代理
$ git config --global https.proxy https://127.0.0.1:10809
$ git config --list
$ git config --global http.proxy http://127.0.0.1:10809
$ git config --global https.proxy https://127.0.0.1:10809
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。