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