git-sync

Star504
View all files

Activity

Tl;dr

git-sync mirrors Git refs from a source remote to a target remote without creating a local checkout. It streams packfiles directly over Smart HTTP using an in-memory object store, making it efficient for mirroring repositories at scale. The tool supports create, update, delete, and force operations on refs, plus optional pruning and ref mapping.

The project is a Go CLI and library designed for automation and remote-to-remote operations. It's particularly useful when local disk becomes a bottleneck for large repository mirrors. git-sync is actively maintained, well-documented, and provides structured JSON output suitable for integration into CI/CD systems and mirroring infrastructure.

Contributors