osaet/content/posts/git-ssh-proxy-configuration.md
yarnom f0b50d13ea feat: add admin publishing workflow and yar theme
Add Go/Postgres admin APIs, Angular admin UI, manual build flow, asset uploads, markdown import/export, configurable slug generation, and the Yar reading theme. Exclude local docs and generated development artifacts from version control.
2026-06-01 15:48:04 +08:00

742 B
Raw Permalink Blame History

id slug title summary status tags cover version slug_source slug_locked published_at created_at updated_at
fc35948f-dec0-4c86-9482-005d19313e01 git-ssh-proxy-configuration 给 GIT 和 SSH 配置代理 published
1 manual true 2022-11-10T20:38:27+08:00 2022-11-10T20:38:27+08:00 2026-01-07T18:10:45+08:00

今天 push 不了项目估计又是网络的问题决定还是给git和ssh配置一下代理不然太难受了。 配置记录如下: 1.使用socks5代理我这边的端口是1089

git config --global http.https://github.com.proxy socks5://127.0.0.1:1089

2.修改 ~/.ssh/config 文件

Host github.com
    User git
    ProxyCommand nc -v -x 127.0.0.1:1089 %h %p