erwise, it
is reset. This is the transactional equivalent of</p>
</div>
<div class="listingblock">
<div class="content">
<pre>$ git branch -f &lt;branch&gt; [&lt;start point&gt;]
$ git checkout &lt;branch&gt;</pre>
</div>
</div>
<div class="paragraph">
<p>that is to say, the branch is not reset/created unless "git checkout" is
successful.</p>
</div>
</dd>
<dt class="hdlist1"><em>git checkout</em> --detach [&lt;branch&gt;]</dt>
<dt class="hdlist1"><em>git checkout</em> [--detach] &lt;commit&gt;</dt>
<dd>
<p>