Skip to content

Instantly share code, notes, and snippets.

@laispace
Last active August 1, 2025 08:44
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
@burger-bro
Copy link

mac上的情况如楼上老哥说的,开着梯子的话得改成443端口,或者是关了梯子直连就可以正常push和clone了。问了ai,原理大概就是梯子干扰了SSH协议

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