commit-graph: implement git-commit-graph write
[git/git.git] / Documentation / git-commit-graph.txt
1 git-commit-graph(1)
2 ===================
3
4 NAME
5 ----
6 git-commit-graph - Write and verify Git commit graph files
7
8
9 SYNOPSIS
10 --------
11 [verse]
12 'git commit-graph write' <options> [--object-dir <dir>]
13
14
15 DESCRIPTION
16 -----------
17
18 Manage the serialized commit graph file.
19
20
21 OPTIONS
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
31 COMMANDS
32 --------
33 'write'::
34
35 Write a commit graph file based on the commits found in packfiles.
36 Includes all commits from the existing commit graph file.
37
38
39 EXAMPLES
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
49 GIT
50 ---
51 Part of the linkgit:git[1] suite