Skip to content

bundle

bundle

Pack repository state for remote execution.

bundle(dirty: bool = True) -> bytearray

Return a reproducible gzip-compressed Git archive of the repository.

A clean bundle archives HEAD. A dirty bundle overlays all tracked working-tree changes and source-like untracked files onto HEAD. Dirty staging uses temporary index and object databases, leaving the repository's index and object store unchanged.