git-bundle
Create and manipulate portable bundle files
TLDR
Create bundle of entire repository
SYNOPSIS
git bundle command [options] [refs]
DESCRIPTION
git bundle creates and manipulates bundle files for transferring repository data offline. Bundles are portable binary archives containing Git objects and references, functioning as standalone repository snapshots.
The primary use case is sharing repository data without network access, such as air-gapped environments or slow connections. Bundles can contain entire repositories or specific branches and commit ranges. They act as read-only remotes when cloned or fetched from.
Unlike archives, bundles preserve Git history and can be incrementally fetched from. They're verified cryptographically to ensure data integrity. Common workflows include creating bundles on one machine, physically transferring them, and cloning or fetching on another machine.
PARAMETERS
--all
Include all refs.
SUBCOMMANDS
create
Create a bundle.verify
Verify a bundle.list-heads
List references.unbundle
Extract objects.
SEE ALSO
git-archive(1), git-clone(1)
