summaryrefslogtreecommitdiffstats
path: root/git-format-patch.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-format-patch.html
parentd0a9940c76b71c9df840a098a423d3400779d83c (diff)
downloadgit-htmldocs-c9f11c2b3a739e3e249b9e7711bf1ed76ef3c6db.tar.gz
Autogenerated HTML docs for v2.22.0-428-g6d5b2
Diffstat (limited to 'git-format-patch.html')
-rw-r--r--git-format-patch.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/git-format-patch.html b/git-format-patch.html
index fad25ef01..cee04de76 100644
--- a/git-format-patch.html
+++ b/git-format-patch.html
@@ -2087,8 +2087,8 @@ Apply it:
<div class="literalblock">
<div class="content">
<pre><code>$ git fetch &lt;project&gt; master:test-apply
-$ git checkout test-apply
-$ git reset --hard
+$ git switch test-apply
+$ git restore --source=HEAD --staged --worktree :/
$ git am a.patch</code></pre>
</div></div>
</li>
@@ -2417,7 +2417,7 @@ Extract three topmost commits from the current branch and format them
<div id="footer">
<div id="footer-text">
Last updated
- 2019-06-13 15:06:39 PDT
+ 2019-07-09 19:51:04 PDT
</div>
</div>
</body>