[Tips] Mac Terminal配置Git使用ClashX
进入ClashX,点击复制命令行:
在命令行中运行复制的命令,配置代理
如要固定这个配置,修改.zshrc加入:
export https_proxy=http://127.0.0.1:7890
export http_proxy=http://127.0.0.1:7890
export all_proxy=socks5://127.0.0.1:7890
端口好需要根据实际情况修改。
进入ClashX,点击复制命令行:
在命令行中运行复制的命令,配置代理
如要固定这个配置,修改.zshrc加入:
export https_proxy=http://127.0.0.1:7890
export http_proxy=http://127.0.0.1:7890
export all_proxy=socks5://127.0.0.1:7890
端口好需要根据实际情况修改。