Skip to content

Instantly share code, notes, and snippets.

@aisuhua
Last active October 23, 2019 11:42
Show Gist options
  • Select an option

  • Save aisuhua/270e2f56733ee439c5adbe8828ec860f to your computer and use it in GitHub Desktop.

Select an option

Save aisuhua/270e2f56733ee439c5adbe8828ec860f to your computer and use it in GitHub Desktop.

初始化

git config --global user.name "John Doe"
git config --global user.email johndoe@example.com

代理

git config --global http.proxy socks5://127.0.0.1:1080
git config --global -l
git clone https://github.com/xxx/xxxxx.git
git config --global --unset http.proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment