summaryrefslogtreecommitdiffstats
path: root/git-rerere.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-07-09 19:54:04 -0700
committerJunio C Hamano <gitster@pobox.com>2019-07-09 19:54:04 -0700
commitc9f11c2b3a739e3e249b9e7711bf1ed76ef3c6db (patch)
tree06ddfc72dff8e370e395a3acc692c8ab48147227 /git-rerere.html
parentd0a9940c76b71c9df840a098a423d3400779d83c (diff)
downloadgit-htmldocs-c9f11c2b3a739e3e249b9e7711bf1ed76ef3c6db.tar.gz
Autogenerated HTML docs for v2.22.0-428-g6d5b2
Diffstat (limited to 'git-rerere.html')
-rw-r--r--git-rerere.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/git-rerere.html b/git-rerere.html
index 93e403a7c..085e5596e 100644
--- a/git-rerere.html
+++ b/git-rerere.html
@@ -864,7 +864,7 @@ even before your topic branch is ready to be pushed upstream:</p></div>
One way to do it is to pull master into the topic branch:</p></div>
<div class="listingblock">
<div class="content">
-<pre><code> $ git checkout topic
+<pre><code> $ git switch topic
$ git merge master
o---*---o---+ topic
@@ -884,10 +884,10 @@ the upstream might have been advanced since the test merge <code>+</code>,
in which case the final commit graph would look like this:</p></div>
<div class="listingblock">
<div class="content">
-<pre><code> $ git checkout topic
+<pre><code> $ git switch topic
$ git merge master
$ ... work on both topic and master branches
- $ git checkout master
+ $ git switch master
$ git merge topic
o---*---o---+---o---o topic
@@ -905,11 +905,11 @@ merges, you could blow away the test merge, and keep building on
top of the tip before the test merge:</p></div>
<div class="listingblock">
<div class="content">
-<pre><code> $ git checkout topic
+<pre><code> $ git switch topic
$ git merge master
$ git reset --hard HEAD^ ;# rewind the test merge
$ ... work on both topic and master branches
- $ git checkout master
+ $ git switch master
$ git merge topic
o---*---o-------o---o topic
@@ -990,7 +990,7 @@ setting in <a href="gitattributes.html">gitattributes(5)</a> can be used.</p></d
<div id="footer">
<div id="footer-text">
Last updated
- 2019-04-25 03:09:28 PDT
+ 2019-07-09 19:51:04 PDT
</div>
</div>
</body>