3 ms·
Gitifying I2P: How to make Git clone resumable
- Jonnax 8y agoI've never put much thought into how git clones aren't resumable. The author's workaround before their solution is quite clever. " Gitifying I2P: How to make git clone resumable Have you ever cloned a git repository on a bad internet connection? I have, it don't work. When I lived in the Philippines for a year and a half, I had to clone repositories to a server of mine in Norway, for then sharing the repo via torrent so I could download it to my laptop in the Philippines. "
- craftyguy 8y agoIn cases like that, I find it far simpler to download an archive of the remote repo. A competent download manager supports resuming, and if you sha1sum the archive you can verify integrity.
- RetardedKumars 8y agoi2p has some design feature (or flaw) that make it different for example you can resume a download if you use their own http client named eepget IIRC, but it won't work if you use a standard http client meant for plain internet like wget/curl
- mook 8y agoSounds like a job for git bundle. https://git-scm.com/docs/git-bundle https://git-scm.com/docs/git-bundle