summaryrefslogtreecommitdiffstats
path: root/git-rev-list.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-07-30 14:22:26 -0700
committerJunio C Hamano <gitster@pobox.com>2020-07-30 14:22:26 -0700
commit28c33dede604b6d79be8b63ca9a53401cb3187f5 (patch)
treea17257ac77fcf56175733532e3d358a5b6db16ce /git-rev-list.html
parent2196da6c492fcd776cf9209d6537235b75a58a3a (diff)
downloadgit-htmldocs-28c33dede604b6d79be8b63ca9a53401cb3187f5.tar.gz
Autogenerated HTML docs for v2.28.0-67-g79bcaf
Diffstat (limited to 'git-rev-list.html')
-rw-r--r--git-rev-list.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/git-rev-list.html b/git-rev-list.html
index ee38ad9e3..03628faca 100644
--- a/git-rev-list.html
+++ b/git-rev-list.html
@@ -761,34 +761,34 @@ git-rev-list(1) Manual Page
given commit(s), but exclude commits that are reachable from the one(s)
given with a <em>&#94;</em> in front of them. The output is given in reverse
chronological order by default.</p></div>
-<div class="paragraph"><p>You can think of this as a set operation. Commits given on the command
-line form a set of commits that are reachable from any of them, and then
-commits reachable from any of the ones given with <em>&#94;</em> in front are
-subtracted from that set. The remaining commits are what comes out in the
-command&#8217;s output. Various other options and paths parameters can be used
-to further limit the result.</p></div>
+<div class="paragraph"><p>You can think of this as a set operation. Commits reachable from any of
+the commits given on the command line form a set, and then commits reachable
+from any of the ones given with <em>&#94;</em> in front are subtracted from that
+set. The remaining commits are what comes out in the command&#8217;s output.
+Various other options and paths parameters can be used to further limit the
+result.</p></div>
<div class="paragraph"><p>Thus, the following command:</p></div>
<div class="listingblock">
<div class="content">
-<pre><code> $ git rev-list foo bar ^baz</code></pre>
+<pre><code>$ git rev-list foo bar ^baz</code></pre>
</div></div>
<div class="paragraph"><p>means "list all the commits which are reachable from <em>foo</em> or <em>bar</em>, but
not from <em>baz</em>".</p></div>
<div class="paragraph"><p>A special notation "<em>&lt;commit1&gt;</em>..<em>&lt;commit2&gt;</em>" can be used as a
-short-hand for "&#94;'&lt;commit1&gt;' <em>&lt;commit2&gt;</em>". For example, either of
+short-hand for "^<em>&lt;commit1&gt;</em> <em>&lt;commit2&gt;</em>". For example, either of
the following may be used interchangeably:</p></div>
<div class="listingblock">
<div class="content">
-<pre><code> $ git rev-list origin..HEAD
- $ git rev-list HEAD ^origin</code></pre>
+<pre><code>$ git rev-list origin..HEAD
+$ git rev-list HEAD ^origin</code></pre>
</div></div>
<div class="paragraph"><p>Another special notation is "<em>&lt;commit1&gt;</em>&#8230;<em>&lt;commit2&gt;</em>" which is useful
for merges. The resulting set of commits is the symmetric difference
between the two operands. The following two commands are equivalent:</p></div>
<div class="listingblock">
<div class="content">
-<pre><code> $ git rev-list A B --not $(git merge-base --all A B)
- $ git rev-list A...B</code></pre>
+<pre><code>$ git rev-list A B --not $(git merge-base --all A B)
+$ git rev-list A...B</code></pre>
</div></div>
<div class="paragraph"><p><em>rev-list</em> is a very essential Git command, since it
provides the ability to build and traverse commit ancestry graphs. For
@@ -3413,7 +3413,7 @@ $ git log -2 --pretty=%h 4da45bef</code></pre>
<div id="footer">
<div id="footer-text">
Last updated
- 2020-03-10 08:03:13 PDT
+ 2020-07-30 14:18:13 PDT
</div>
</div>
</body>