Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git配置vpn代理 #9

Open
bitjian opened this issue Jan 26, 2024 · 0 comments
Open

git配置vpn代理 #9

bitjian opened this issue Jan 26, 2024 · 0 comments
Labels
linux linux常用命令

Comments

@bitjian
Copy link
Owner

bitjian commented Jan 26, 2024

git配置vpn代理

连接vpn后git不能提交代码,报错显示Failed to connect to github.com port 443: Timed out
配置在 git config 配置vpn代理即可

git config --global http.proxy 127.0.0.1:[vpn_port]
git config --global https.proxy 127.0.0.1:[vpn_port]
@bitjian bitjian added the linux linux常用命令 label Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linux linux常用命令
Projects
None yet
Development

No branches or pull requests

1 participant