Skip to content

Instantly share code, notes, and snippets.

@laispace
Last active May 13, 2025 06:23
Show Gist options
  • Save laispace/666dd7b27e9116faece6 to your computer and use it in GitHub Desktop.
Save laispace/666dd7b27e9116faece6 to your computer and use it in GitHub Desktop.
git config --global https.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
npm config delete proxy
@somewheve
Copy link

如果那个命令不管用 我推荐使用管理员权限打开cmd再设置代理 win11 亲测有效

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment