git-proxy

Installation
SKILL.md

git-proxy

当 git clone 连接 GitHub 失败时,自动设置代理并还原。

When to use

当执行 git clone 时出现以下错误:

  • Failed to connect to github.com port 443
  • Could not connect to server
  • 连接超时等网络错误

Instructions

  1. 设置 Git 代理(默认端口 10808):
    git config --global http.proxy http://127.0.0.1:10808
    git config --global https.proxy http://127.0.0.1:10808
    
Related skills
Installs
4
First Seen
Mar 23, 2026