git-commit-graph.txt: typeset more in monospace
While we're here, fix an instance of "folder" to be "directory". Signed-off-by: Martin Ågren <martin.agren@gmail.com> Reviewed-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Martin Ågren committed
Sep 27, 2018 at 21:12 UTC
d59a9168fb65b02d20eda3100a76670417087c96
1 file changed
+7
-6
Documentation/git-commit-graph.txt
+7
-6
@@ -25,9 +25,9 @@ OPTIONS
25
--object-dir::
26
Use given directory for the location of packfiles and commit graph
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
32
33
COMMANDS
@@ -66,14 +66,15 @@ database. Used to check for corrupted data.
66
EXAMPLES
67
--------
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.
71
+
72
------------------------------------------------
73
$ git commit-graph write
74
------------------------------------------------
75
76
* Write a graph file, extending the current graph file using commits
76
- in <pack-index>.
77
+ in `<pack-index>`.
78
+
79
------------------------------------------------
80
$ echo <pack-index> | git commit-graph write --stdin-packs
@@ -86,7 +87,7 @@ $ git show-ref -s | git commit-graph write --stdin-commits
87
------------------------------------------------
88
89
* Write a graph file containing all commits in the current
89
- commit-graph file along with those reachable from HEAD.
90
+ commit-graph file along with those reachable from `HEAD`.
91
+
92
------------------------------------------------
93
$ git rev-parse HEAD | git commit-graph write --stdin-commits --append