GIT-BUNDLE(1) (NAME) git-bundle - (SYNOPSIS) git bundle create [-q | --quiet | --progress] [--version=] git bundle verify [-q | --quiet] git bundle list-heads [...] git bundle unbundle [--progress] [...] (DESCRIPTION) <<>> (bundle). <<>> <<>> . (incremental) ( << >> <<>>) ( ). ssh:// https:// <<>> . git-clone(1) git-fetch(1) git-ls-remote(1) . <<>> git push . (BUNDLE FORMAT) .pack ( git-pack-objects(1)) (header) . (packed archive) (self-contained) (exclusions) . << >> . (revision exclusions) << >> (thin packs) --thin git-pack-objects(1) --fix-thin git-index-pack(1) (unbundle) . << >> (thick pack) . << >> . <<>> . gitformat- bundle(5) << >> gitformat- pack(5) . (OPTIONS) create [options] file . . options git bundle create . file - (stdout) . verify . . git bundle ( ) . << >> (object filter) . <<>> gitformat-bundle(5) . . file - (stdin) . list-heads . . file - (stdin) . unbundle git index-pack . . (plumbing) git fetch . file - (stdin) . git rev-parse git rev-list ( << >> ) . master~10..master master . . [...] . git fetch ( git bundle git fetch-pack ). --progress -q . . --version= . 2 SHA-1 3 . . -q, --quiet . (SPECIFYING REFERENCES) (revisions) . --all . . . git bundle create git rev-parse --abbrev-ref=loose . ( ^master~10) ( master~10..master --since=10.days.ago master) . ( "master" "next" ): $ git bundle create master.bundle master $ echo master | git bundle create master.bundle --stdin $ git bundle create master-and-next.bundle master next $ (echo master; echo next) | git bundle create master-and-next.bundle --stdin ( --stdin): $ git bundle create recent-master.bundle master~10..master $ git bundle create recent-updates.bundle master~10..master next~5..next : $ git bundle create HEAD.bundle $(git rev-parse HEAD) fatal: Refusing to create empty bundle. $ git bundle create master-yesterday.bundle master~10..master~5 fatal: Refusing to create empty bundle. (OBJECT PREREQUISITES) . new git bundle create new . new : $ git bundle create full.bundle new old..new old ( ) : $ git bundle create full.bundle old..new ( new old..new). . --branches --tags . git bundle verify . (EXAMPLES) : 1. 2. . : $ git bundle create backup.bundle --all . (working tree) (stash) . git- clone(1) : $ git clone backup.bundle R1 A R2 B . A B ( ) A B . R2 master R1 . . : machineA$ cd R1 machineA$ git bundle create file.bundle master machineA$ git tag -f lastR2bundle master file.bundle B . B : machineB$ git clone -b master /home/me/tmp/file.bundle R2 (remote) "origin" (fetch) (pull) . $GIT_DIR/config R2 : [remote "origin"] url = /home/me/tmp/file.bundle fetch = refs/heads/*:refs/remotes/origin/* /home/me/tmp/file.bundle fetch pull . : machineA$ cd R1 machineA$ git bundle create file.bundle lastR2bundle..master machineA$ git tag -f lastR2bundle master /home/me/tmp/file.bundle pull . machineB$ cd R2 machineB$ git pull . lastR2bundle git-log(1) . : : $ git bundle create mybundle v1.0.0..master : $ git bundle create mybundle --since=10.days master : $ git bundle create mybundle -10 master git-bundle verify : $ git bundle verify mybundle . (fetch) (pull) . : $ git fetch mybundle master:localRef : $ git ls-remote mybundle (DISCUSSION) cp -r . . . git- clone(1). . . gitfaq(7) "TRANSFERS" . (FILE FORMAT) gitformat-bundle(5) . (SEE ALSO) gitformat-bundle(5), git-clone(1), git-fetch(1), git-pack-objects(1), gitformat-pack(5) (GIT) git(1) Git 2.55.0 2026-06-29 GIT-BUNDLE(1)