Skip to content

一些疑难杂症

📅 发表于 2026/04/16
🔄 更新于 2026/08/05
👁️ — 次访问
📝 137 字
1 分钟
#github访问

git 访问

方法1-修改hosts
方法2-使用镜像

使用方法

镜像地址

单次使用

bash
git clone https://gh-proxy.com/https://github.com/claude-code-best/claude-code.git

全局配置和卸载

bash
# 配置
git config --global url."https://gh-proxy.com/https://github.com/".insteadOf "https://github.com/"
# 卸载
git config --global --unset url."https://gh-proxy.com/https://github.com/".insteadOf

# 查看配置
git config --global --list
总访客数:— · 总访问量:—
PLM's Blog @ 2016 - 2026