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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store