git: Is it possible to save the packed objects of a dry run and push them later?
Posted
by shovavnik
on Stack Overflow
See other posts from Stack Overflow
or by shovavnik
Published on 2010-06-10T20:37:04Z
Indexed on
2010/06/10
20:43 UTC
Read the original article
Hit count: 366
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.
© Stack Overflow or respective owner