📚 快速使用指南
🔧 Git 操作(完美支持,推荐使用)
# 克隆仓库(支持 .git 后缀)
git clone http://g.sc8.fun/user/repo
git clone http://g.sc8.fun/user/repo.git
# 其他 Git 操作
git fetch http://g.sc8.fun/user/repo
git pull http://g.sc8.fun/user/repo main
git push http://g.sc8.fun/user/repo main
git remote add origin http://g.sc8.fun/user/repo
📁 下载单个文件(Raw 格式)
# 使用 curl 下载
curl http://g.sc8.fun/user/repo/raw/main/README.md
curl http://g.sc8.fun/user/repo/raw/main/src/file.txt -o file.txt
# 使用 wget 下载
wget http://g.sc8.fun/user/repo/raw/main/README.md
# 浏览器直接访问
http://g.sc8.fun/user/repo/raw/main/file.txt
📦 下载完整仓库压缩包
# 下载 ZIP 格式
curl -L http://g.sc8.fun/user/repo/archive/refs/heads/main.zip -o repo.zip
wget http://g.sc8.fun/user/repo/archive/refs/heads/main.zip
# 下载特定分支
curl -L http://g.sc8.fun/user/repo/archive/refs/heads/develop.zip -o repo-develop.zip
# 下载特定标签
curl -L http://g.sc8.fun/user/repo/archive/refs/tags/v1.0.0.zip -o repo-v1.0.0.zip