How to disable sparse checkout after enabled?
<p>I enabled a sparse checkout </p>

<pre><code>git init
git remote add &lt;url&gt;
git config --global core.sparseCheckout true
echo "assets" &gt;&gt; .git/info/sparse-checkout
git pull origin master
</code></pre>

<p>Git checked out only the assets folder for me</p>

<p>But now, I want to enable full branch checkout again (checkout folders/files), but it doesn't seem to work.</p>

<p>1) first I disabled config </p>

<pre><code>git config --global core.sparseCheckout false
</code></pre>

<p>2) removed the entries in .git/info/sparse-checkout</p>

<p>But git didn't checkout any of the other folders/files for me, it seems it is sticking to 'assets' folder.</p>

<p>Could anyone tell me how can I reset/disable this sparse checkout without creating a new repo.?</p>