lly makes it trivial to use
<em>git checkout-index</em> as an "export as tree" function.
Just read the desired tree into the index, and do:</p>
<div class="listingblock">
<div class="content">
<pre>$ git checkout-index --prefix=git-export-dir/ -a</pre>
</div>
</div>
<div class="paragraph">
<p><code>git checkout-index</code> will "export" the index into the specified
directory.</p>
</div>
<div class="paragraph">
<p>The final "/" is important. The exported name is literally just
prefixed with the specified st