Skip to content

Instantly share code, notes, and snippets.

@rieonke
Created May 30, 2017 08:56
Show Gist options
  • Select an option

  • Save rieonke/efe511b736a9d538a524da42af0ffd92 to your computer and use it in GitHub Desktop.

Select an option

Save rieonke/efe511b736a9d538a524da42af0ffd92 to your computer and use it in GitHub Desktop.
Git 代理设置 Proxy config for git
设置代理
git config --global http.proxy http://host:port
git config --global https.proxy https://host:port
取消设置代理
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