@@ -3,7 +3,7 @@ git-commit-graph(1)
3
3
4
4
NAME
5
5
----
6
- git-commit-graph - Write and verify Git commit graph files
6
+ git-commit-graph - Write and verify Git commit- graph files
7
7
8
8
9
9
SYNOPSIS
@@ -17,24 +17,24 @@ SYNOPSIS
17
17
DESCRIPTION
18
18
-----------
19
19
20
- Manage the serialized commit graph file.
20
+ Manage the serialized commit- graph file.
21
21
22
22
23
23
OPTIONS
24
24
-------
25
25
--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
27
27
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` .
31
31
32
32
33
33
COMMANDS
34
34
--------
35
35
'write'::
36
36
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.
38
38
+
39
39
With the `--stdin-packs` option, generate the new commit graph by
40
40
walking objects only in the specified pack-indexes. (Cannot be combined
@@ -54,8 +54,8 @@ existing commit-graph file.
54
54
55
55
'read'::
56
56
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.
59
59
60
60
'verify'::
61
61
@@ -66,27 +66,28 @@ database. Used to check for corrupted data.
66
66
EXAMPLES
67
67
--------
68
68
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.
70
71
+
71
72
------------------------------------------------
72
73
$ git commit-graph write
73
74
------------------------------------------------
74
75
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>` .
77
78
+
78
79
------------------------------------------------
79
80
$ echo <pack-index> | git commit-graph write --stdin-packs
80
81
------------------------------------------------
81
82
82
- * Write a graph file containing all reachable commits.
83
+ * Write a commit- graph file containing all reachable commits.
83
84
+
84
85
------------------------------------------------
85
86
$ git show-ref -s | git commit-graph write --stdin-commits
86
87
------------------------------------------------
87
88
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` .
90
91
+
91
92
------------------------------------------------
92
93
$ git rev-parse HEAD | git commit-graph write --stdin-commits --append
0 commit comments