lass="hdlist1">Interrupted workflow</dt>
<dd>
<div class="paragraph">
<p>Suppose you are interrupted by an urgent fix request while you
are in the middle of a large change.  The files in your
working tree are not in any shape to be committed yet, but you
need to get to the other branch for a quick bugfix.</p>
</div>
<div class="listingblock">
<div class="content">
<pre>$ git switch feature  ;# you were working in "feature" branch and
$ work work work      ;# got interrupted
$ git commit -a -m "snapshot WIP"