mirroring - Create a mirror Git repository without transferring objects -


I have a set of large files (50 GB) and they are at a distance of two hosts and I thought They were included in several Geeta stores so that each one of the repo's mirror repos of each other. But I do not want to transfer files on the network because it takes a long time (50-60 hours) and it is unnecessary because the file is already on both sides.

My idea was to have a GET repo on all sides, add all the files of each side to the local repo and then drag the ghet from each other. I thought the git should be considered enough that the files are identical and that they are moved. Can not do. But this does not seem like because on a small sample, it takes more time to pull (mostly in the "unpacking objects" phase) and maximizes the network connection between the two, so it seems to me that these git objects Unnecessarily transferring

Does anyone consider how to do this without actually transferring files?

Thank you!

This is interesting because it has the same content as large files (I believe) and both ends Should create the same object file.

Testing On two repo of my local machine, it shows that there will be only one SHA ID in the same file in different repositories.

Check and see if SHA IDs of your actual files are similar in both repositories. If they are, then we need to know that they can be transferred anyway, if not, why not find out.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -