@@ -3,7 +3,7 @@ git-commit-graph(1)
33
44NAME
55----
6- git-commit-graph - Write and verify Git commit graph files
6+ git-commit-graph - Write and verify Git commit- graph files
77
88
99SYNOPSIS
@@ -17,24 +17,24 @@ SYNOPSIS
1717DESCRIPTION
1818-----------
1919
20- Manage the serialized commit graph file.
20+ Manage the serialized commit- graph file.
2121
2222
2323OPTIONS
2424-------
2525--object-dir::
26- Use given directory for the location of packfiles and commit graph
26+ Use given directory for the location of packfiles and commit- graph
2727 file. This parameter exists to specify the location of an alternate
28- that only has the objects directory, not a full .git directory. The
29- commit graph file is expected to be at <dir>/info/commit-graph and
30- the packfiles are expected to be in <dir>/pack.
28+ that only has the objects directory, not a full ` .git` directory. The
29+ commit- graph file is expected to be at ` <dir>/info/commit-graph` and
30+ the packfiles are expected to be in ` <dir>/pack` .
3131
3232
3333COMMANDS
3434--------
3535'write'::
3636
37- Write a commit graph file based on the commits found in packfiles.
37+ Write a commit- graph file based on the commits found in packfiles.
3838+
3939With the `--stdin-packs` option, generate the new commit graph by
4040walking objects only in the specified pack-indexes. (Cannot be combined
@@ -54,8 +54,8 @@ existing commit-graph file.
5454
5555'read'::
5656
57- Read a graph file given by the commit-graph file and output basic
58- details about the graph file. Used for debugging purposes.
57+ Read the commit-graph file and output basic details about it.
58+ Used for debugging purposes.
5959
6060'verify'::
6161
@@ -66,27 +66,28 @@ database. Used to check for corrupted data.
6666EXAMPLES
6767--------
6868
69- * Write a commit graph file for the packed commits in your local .git folder.
69+ * Write a commit-graph file for the packed commits in your local `.git`
70+ directory.
7071+
7172------------------------------------------------
7273$ git commit-graph write
7374------------------------------------------------
7475
75- * Write a graph file, extending the current graph file using commits
76- * in <pack-index>.
76+ * Write a commit- graph file, extending the current commit- graph file
77+ using commits in ` <pack-index>` .
7778+
7879------------------------------------------------
7980$ echo <pack-index> | git commit-graph write --stdin-packs
8081------------------------------------------------
8182
82- * Write a graph file containing all reachable commits.
83+ * Write a commit- graph file containing all reachable commits.
8384+
8485------------------------------------------------
8586$ git show-ref -s | git commit-graph write --stdin-commits
8687------------------------------------------------
8788
88- * Write a graph file containing all commits in the current
89- * commit-graph file along with those reachable from HEAD.
89+ * Write a commit- graph file containing all commits in the current
90+ commit-graph file along with those reachable from ` HEAD` .
9091+
9192------------------------------------------------
9293$ git rev-parse HEAD | git commit-graph write --stdin-commits --append
0 commit comments