commit-graph: implement git-commit-graph write
[git/git.git] / Documentation / git-commit-graph.txt
CommitLineData
4ce58ee3
DS
1git-commit-graph(1)
2===================
3
4NAME
5----
6git-commit-graph - Write and verify Git commit graph files
7
f237c8b6
DS
8
9SYNOPSIS
10--------
11[verse]
12'git commit-graph write' <options> [--object-dir <dir>]
13
14
15DESCRIPTION
16-----------
17
18Manage the serialized commit graph file.
19
20
21OPTIONS
22-------
23--object-dir::
24 Use given directory for the location of packfiles and commit graph
25 file. This parameter exists to specify the location of an alternate
26 that only has the objects directory, not a full .git directory. The
27 commit graph file is expected to be at <dir>/info/commit-graph and
28 the packfiles are expected to be in <dir>/pack.
29
30
31COMMANDS
32--------
33'write'::
34
35Write a commit graph file based on the commits found in packfiles.
36Includes all commits from the existing commit graph file.
37
38
39EXAMPLES
40--------
41
42* Write a commit graph file for the packed commits in your local .git folder.
43+
44------------------------------------------------
45$ git commit-graph write
46------------------------------------------------
47
48
4ce58ee3
DS
49GIT
50---
51Part of the linkgit:git[1] suite