git-sync
🪩 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. - entireio/git-sync
Opening excerpt (first ~120 words) tap to expand
git-sync git-sync mirrors refs from a source remote to a target remote without creating a local checkout. It uses an in-memory go-git object store and talks smart HTTP directly: info/refs ref advertisement for source and target upload-pack fetch from source with target tip hashes advertised as have receive-pack push to target with explicit ref update commands and a streamed packfile That keeps the target side incremental without fetching target objects into the local process first. Why This Exists Mirroring Git data between remotes usually means a local mirror clone followed by a mirror push. That's fine for small repos but turns a remote-to-remote operation into a local storage problem at scale, and shell glue around git fetch / git push tends to skip planning and structured output.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.