git bash中输入

git config --global http.proxy http://127.0.0.1:1080

git config --global https.proxy https://127.0.0.1:1080

git config --global --unset http.proxy

git config --global --unset https.proxy
posted on 2022-08-09 01:35  FrostyForest  阅读(37)  评论(0编辑  收藏  举报