- buster 1:2.20.1-2+deb10u3
- buster-backports 1:2.29.2-1~bpo10+1
- testing 1:2.30.2-1
- unstable 1:2.32.0-1
- experimental 1:2.32.0+next.20210606-1
GIT-COMMIT-GRAPH(1) | Git Manual | GIT-COMMIT-GRAPH(1) |
NAME¶
git-commit-graph - Write and verify Git commit-graph filesSYNOPSIS¶
git commit-graph read [--object-dir <dir>] git commit-graph verify [--object-dir <dir>] git commit-graph write <options> [--object-dir <dir>]
DESCRIPTION¶
Manage the serialized commit-graph file.OPTIONS¶
--object-dirCOMMANDS¶
writeWith the --stdin-packs option, generate the new commit graph by walking objects only in the specified pack-indexes. (Cannot be combined with --stdin-commits or --reachable.)
With the --stdin-commits option, generate the new commit graph by walking commits starting at the commits specified in stdin as a list of OIDs in hex, one OID per line. (Cannot be combined with --stdin-packs or --reachable.)
With the --reachable option, generate the new commit graph by walking commits starting at all refs. (Cannot be combined with --stdin-commits or --stdin-packs.)
With the --append option, include all commits that are present in the existing commit-graph file.
read
verify
EXAMPLES¶
$ git commit-graph write
$ echo <pack-index> | git commit-graph write --stdin-packs
$ git show-ref -s | git commit-graph write --stdin-commits
$ git rev-parse HEAD | git commit-graph write --stdin-commits --append
$ git commit-graph read
GIT¶
Part of the git(1) suite04/20/2020 | Git 2.20.1 |