How can I push a shallow update? Set receive.shallowUpdate on remote?
<p>I have a project for which I don't have access to the git repository any more. I want to put it in a new repository (on Bitbucket), but when I try to <code>git push -u origin --all</code> I get <code>! [remote rejected] master -&gt; master (shallow update not allowed)</code> for all branches.</p>

<p>Apparently there is a <strong>receive.shallowUpdate</strong> config option, but how do I set this on the remote side?</p>

<p>Making an unshallow clone isn't an option, as I don't have access to the original repo.</p>