Skip to content

Instantly share code, notes, and snippets.

@MarshalW
Created January 13, 2023 04:10
Show Gist options
  • Save MarshalW/32cadca1f6321fe23d54f3e362ea5a19 to your computer and use it in GitHub Desktop.
Save MarshalW/32cadca1f6321fe23d54f3e362ea5a19 to your computer and use it in GitHub Desktop.
git proxy 设置

git proxy 设置

# 设置
git config --global http.proxy http://192.168.0.222:8118
git config --global https.proxy http://192.168.0.222:8118

# 查看
git config --global --get http.proxy 
git config --global --get https.proxy 

# 取消设置
git config --global --unset http.proxy
git config --global --unset https.proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment