entireio

git-sync

entireio

🪩 Mirror git refs from a source remote to a target remote without a local checkout. Packfiles stream directly over Smart HTTP and an in-memory object store.

AI 简介

git-sync 是一个用于在 Git 远程仓库间直接镜像引用(refs)的命令行工具,无需本地检出或临时存储。它基于 Go 实现,通过 Smart HTTP 协议流式传输 packfile,结合内存中对象存储与增量协商机制(如 `have`/`want` 交互),实现源端到目标端的高效、无状态同步。支持 `sync`(安全快进+自动引导)和 `replicate`(强制覆盖)两种模式,并提供 JSON 结构化输出与可编程 API,适用于自动化 CI/CD 镜像、多源代码托管平台间同步、合规性归档等场景。

Go
MIT License
462
Stars
19
Forks
1
Watchers
4
Issues

Star 增长

今日0
近 7 天0
近 30 天+1
综合评分44
默认分支main