Introduction
A bundle is a single file that Git can clone or fetch from. It carries references and the objects behind them, so that history can be moved without a network connection between two repositories.
Structure
The file begins with a text header whose first line is # v2 git bundle or
# v3 git bundle. Version 3 may then list capabilities on lines starting
with @. Lines for required commits (starting with -) and for
references follow, then an empty line, then a
packfile.
Not described
Known, not yet covered
- Reference: this page is a summary; the header grammar and capabilities are not yet described in full on this site.
- Viewer: the site has no viewer for Git bundles.
Also used for
- Mach-O executable and library – Programs, .dylib libraries and universal binaries on macOS and iOS.
Links
Software
- Git – creates and reads bundles with git bundle
Reference
- gitformat-bundle – Git’s own description of the bundle format