Skip to content

Commit d59a916

Browse files
Martin Ågrengitster
authored andcommitted
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 <[email protected]> Reviewed-by: Derrick Stolee <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a3a3ca0 commit d59a916

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Documentation/git-commit-graph.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ OPTIONS
2525
--object-dir::
2626
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

3333
COMMANDS
@@ -66,14 +66,15 @@ database. Used to check for corrupted data.
6666
EXAMPLES
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

7576
* Write a graph file, extending the current graph file using commits
76-
in <pack-index>.
77+
in `<pack-index>`.
7778
+
7879
------------------------------------------------
7980
$ echo <pack-index> | git commit-graph write --stdin-packs
@@ -86,7 +87,7 @@ $ git show-ref -s | git commit-graph write --stdin-commits
8687
------------------------------------------------
8788

8889
* 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`.
9091
+
9192
------------------------------------------------
9293
$ git rev-parse HEAD | git commit-graph write --stdin-commits --append

0 commit comments

Comments
 (0)