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 git push -u origin --all
I get ! [remote rejected] master -> master (shallow update not allowed)
for all branches.
Apparently there is a receive.shallowUpdate config option, but how do I set this on the remote side?
Making an unshallow clone isn't an option, as I don't have access to the original repo.