Skip to main content
Version: 1.0-beta

GitBundle

API reference

A Git bundle: a self-describing container of refs and the objects needed to reconstruct them, optionally rooted at prerequisite commits.

Implements Node

id: ID!

A unique identifier for this GitBundle.

objectFormat: String!

Object format capability: sha1 or sha256.

prerequisiteSHAs: [String!]!

Commits that must already exist wherever this bundle is applied.

version: Int!

Bundle format version (2 or 3).

asFile: File!

Return the bundle bytes as a File.

refs: [GitBundleRef!]!

Refs advertised by the bundle and the object IDs they resolve to.

validate: GitBundle!

Perform full structural verification of the bundle and error if it is malformed.

References

Returned by

Accepted as an argument by