Reputation: 38462
Is there any way for me to do the repack work on the local machine, then push the resulting packed database to my remote repository?
Upvotes: 1
Views: 778
Reputation: 1324606
The closest would be to use git bundle
, which re-pack and store the all repo into one file.
I mentioned it in "How can I email someone a git repository?". You can include tags as well.
The added benefit is that one file is easier to transfer.
Once copied over the remote server, you can clone or fetch from that bundle file.
Upvotes: 1