git bundle
SafeRepo in a single file
git bundle create repo.bundle --all
Packs history into one file you can clone from — USB transfers, air-gapped imports, quick backups.
Examples
git bundle create app.bundle --all && git clone app.bundle appBundle, then clone elsewhere
Syntax
git bundle create <file> <refs> / git clone <file> dir
Before you run it
Output only.
Related commands
- git archiveExport an archive
- docker saveExport images to tar
- git format-patch / amMake and apply patches
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store