diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-03-07 12:17:00 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-03-07 12:17:00 +0900 |
commit | 11f1537a82c84e620d742b3bc4256952defb28df (patch) | |
tree | 2923ff40fbf10f29b7eaa506c2deb52e00e08dde /git-checkout.html | |
parent | 9149123b58ede4ca92a71abd3c09e3e2ad205b55 (diff) | |
download | git-htmldocs-11f1537a82c84e620d742b3bc4256952defb28df.tar.gz |
Autogenerated HTML docs for v2.21.0-135-g6e0cc
Diffstat (limited to 'git-checkout.html')
-rw-r--r-- | git-checkout.html | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/git-checkout.html b/git-checkout.html index ca02c3da7..be664e4cd 100644 --- a/git-checkout.html +++ b/git-checkout.html @@ -1102,6 +1102,8 @@ the conflicted merge in the specified paths.</p></div> <div class="paragraph"><p>This means that you can use <code>git checkout -p</code> to selectively discard
edits from your current working tree. See the “Interactive Mode”
section of <a href="git-add.html">git-add(1)</a> to learn how to operate the <code>--patch</code> mode.</p></div>
+<div class="paragraph"><p>Note that this option uses the no overlay mode by default (see also
+<code>--[no-]overlay</code>), and currently doesn’t support overlay mode.</p></div>
</dd>
<dt class="hdlist1">
--ignore-other-worktrees
@@ -1138,6 +1140,18 @@ section of <a href="git-add.html">git-add(1)</a> to learn how to operate the <co </p>
</dd>
<dt class="hdlist1">
+--[no-]overlay
+</dt>
+<dd>
+<p>
+ In the default overlay mode, <code>git checkout</code> never
+ removes files from the index or the working tree. When
+ specifying <code>--no-overlay</code>, files that appear in the index and
+ working tree, but not in <tree-ish> are removed, to make them
+ match <tree-ish> exactly.
+</p>
+</dd>
+<dt class="hdlist1">
<branch>
</dt>
<dd>
@@ -1454,7 +1468,7 @@ $ git add frotz</code></pre> <div id="footer">
<div id="footer-text">
Last updated
- 2019-02-24 08:31:33 PST
+ 2019-03-07 12:16:20 JST
</div>
</div>
</body>
|