I’ve written a script to export (basically --mirror) git repositories. I use this to import into another system. These two systems are not physically connected.
I also use package repositories, and I noticed that the ‘git clone --mirror’ grabs these objects and puts them into the ‘objects’ folder in the export. I didn’t expect these artifacts to be exported at all.
However, doing the complimentary import (git push --mirror) into an empty repository did not upload or create those. This didn’t surprise me, really. But is there any way to do so?