解决 Git clone 失败时的代理设置问题
Scanned 9/4/2026
Install to Claude Code
npx -y skills add NeverSight/skills_feed --skill git-proxy --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Git Proxy?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/neversight-git-proxy)More formats (shields.io, HTML) on the badges page.
---
name: git-proxy
description: 解决 Git clone 失败时的代理设置问题
---
# 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):
```powershell
git config --global http.proxy http://127.0.0.1:10808
git config --global https.proxy http://127.0.0.1:10808
```
2. 执行原本失败的 git clone 命令
3. 操作完成后立即还原代理设置:
```powershell
git config --global --unset http.proxy
git config --global --unset https.proxy
```
## Notes
- 用户常用代理端口是 `10808`
- 完成后务必还原,避免影响其他项目Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...