 was specified, the index).</p>
<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 &#8220;Interactive Mode&#8221;
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>--overlay</code>), and currently doesn&#8217;t support overlay mode.</p>
</div>
