git: Is it possible to save the packed objects of a dry run and push them later?
- by shovavnik
I'm trying to push a bunch of commits that contain a lot of code and a few thousand MP3 and PDF files besides (ranging from 5-40 MB each).
Git successfully packs the objects:
C:\MyProject> git push
Counting objects: 7582, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (7510/7510), done.
But it fails to send the push for some as yet unknown reason.
The problem is that it takes it a very long time to repack the files (I'm on a battery-powered laptop and it took about 20 minutes to pack).
So I guess my question can be phrases thus:
Is it possible to save the packed objects created in a dry run?
Once saved, is it possible to push those packed objects and avoid repacking?
I looked it up in the git manual and elsewhere and couldn't find anything conclusive.
Any help or pointers are appreciated.