No, It is Immpossible.
The presence of a shadow clone means that they are aging in your repository, are "reverse hanging", that is, they indicate parent commits that you do not have. This makes your data structure invalid, since git usually provides a complete history - it hushes up the problem as you instructed it to make a shallow clone, but still.
You can only click on remotes that already have those commands that you donβt have.
So your solution is to disconnect your clone, and then click on the new repository. Alternatively, if you want to avoid the whole story in your repositories, you can create a new repository from your own upstream (which I hope is not shallow) without touching your own repository, and then insert it.
source share