Skip to content

git bash 有办法 clash 代理吗? #2

Answered by pudding0503
bitcookies asked this question in 问答
Discussion options

You must be logged in to vote

clash for windows 将 http 和 socks5 代理端口合并了, 都为 7890。
在 git 配置文件 bash.bashrc 中加入:

export http_proxy=http://127.0.0.1:7890;export https_proxy=http://127.0.0.1:7890

一般在 git 安装目录下的 \etc\bash.bashrc

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bitcookies
Comment options

bitcookies Aug 1, 2022
Maintainer Author

Answer selected by bitcookies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
问答
Labels
None yet
2 participants