Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-commit-graph.txt: typeset more in monospace
author
Martin Ågren
<martin.agren@gmail.com>
Thu, 27 Sep 2018 19:12:20 +0000
(21:12 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 27 Sep 2018 22:29:11 +0000
(15:29 -0700)
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>
Documentation/git-commit-graph.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
a3a3ca0
)
diff --git
a/Documentation/git-commit-graph.txt
b/Documentation/git-commit-graph.txt
index f42f2a14810dbf2f5e75d25d175d76f7ba7740b3..6ac610f016519623105473dadff48732d5c0152e 100644
(file)
--- a/
Documentation/git-commit-graph.txt
+++ b/
Documentation/git-commit-graph.txt
@@
-25,9
+25,9
@@
OPTIONS
--object-dir::
Use given directory for the location of packfiles and commit graph
file. This parameter exists to specify the location of an alternate
--object-dir::
Use given directory for the location of packfiles and commit graph
file. This parameter exists to specify the location of an alternate
- that only has the objects directory, not a full
.git
directory. The
- commit graph file is expected to be at
<dir>/info/commit-graph
and
- the packfiles are expected to be in
<dir>/pack
.
+ that only has the objects directory, not a full
`.git`
directory. The
+ commit graph file is expected to be at
`<dir>/info/commit-graph`
and
+ the packfiles are expected to be in
`<dir>/pack`
.
COMMANDS
COMMANDS
@@
-66,14
+66,15
@@
database. Used to check for corrupted data.
EXAMPLES
--------
EXAMPLES
--------
-* Write a commit graph file for the packed commits in your local .git folder.
+* Write a commit graph file for the packed commits in your local `.git`
+ directory.
+
------------------------------------------------
$ git commit-graph write
------------------------------------------------
* Write a graph file, extending the current graph file using commits
+
------------------------------------------------
$ git commit-graph write
------------------------------------------------
* Write a graph file, extending the current graph file using commits
- in
<pack-index>
.
+ in
`<pack-index>`
.
+
------------------------------------------------
$ echo <pack-index> | git commit-graph write --stdin-packs
+
------------------------------------------------
$ echo <pack-index> | git commit-graph write --stdin-packs
@@
-86,7
+87,7
@@
$ git show-ref -s | git commit-graph write --stdin-commits
------------------------------------------------
* Write a graph file containing all commits in the current
------------------------------------------------
* Write a graph file containing all commits in the current
- commit-graph file along with those reachable from
HEAD
.
+ commit-graph file along with those reachable from
`HEAD`
.
+
------------------------------------------------
$ git rev-parse HEAD | git commit-graph write --stdin-commits --append
+
------------------------------------------------
$ git rev-parse HEAD | git commit-graph write --stdin-commits --append