原料 | 用途 |
---|---|
IDEA | 编程用的IDE(不会有人没有吧?啊这……) |
Clash for Windows | 代理工具,没有的自行上网找机场 |
Git bash | 没有Git?没有精神! |
Step1:在IDEA中设置自动识别代理
Step2:搞定Clash并正常使用
在主控板上可以看到端口Port,默认是7890
Step3:在Git中设置代理
打开Git bash,输入以下内容:
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
若自定义了 代理方式、IP、Port 等设置,请自行更改以上命令。