Skip to content

Instantly share code, notes, and snippets.

@laispace
Last active April 9, 2026 15:38
Show Gist options
  • Select an option

  • Save laispace/666dd7b27e9116faece6 to your computer and use it in GitHub Desktop.

Select an option

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
@Haruite
Copy link
Copy Markdown

Haruite commented Apr 7, 2026

命令写错了吧,是git config --global http.proxy http://127.0.0.1:1080 ,两个http都不带s,就这一条命令才是有效的

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