Our remote team has recently pushed a large commit (40GB, 1800 files) of various assets to our repo. I tried to do a git pull and it was going fine until 15 hours later when i got a broken pipe error. I searched SO for similar questions, but so far most of them involve cloning a large repo. I am not a git expert, so if there's some obvious solution I'm missing, please forgive me. Is there any way to safely pull this commit? Or "resume" if it fails?
Asked
Active
Viewed 214 times
1
-
3Just educate your remote team on differences between VCS and Cloud Storage. Commit with 40GB and 1800 files should be removed from the repository. – xenteros Oct 24 '19 at 05:55
-
@xenteros It's a statutory requirement to ship the product with the (educational) content in some locations. We did know it was too large, but it needed to be done. – Aswath Oct 24 '19 at 05:59
-
The advice for cloning a large repo will apply to pulling. – tymtam Oct 24 '19 at 06:02
-
@tymtam If I understand correctly, LFS is for a singular large file, isn't it? Each file in the commit is just about 15-50 MB in size, but collectively they are 40GB in size. – Aswath Oct 24 '19 at 06:04
1 Answers
0
Git pull or clone don't have resume functionaly.
You could:
Ask the person who already has a version of the repo with this commit to provide you with a copy of the repo through some other means (network share?).
try downloading the repo as a
zip
, if your git host allows this. The download client (web browser?) may able to deal with network issues better.retry with
git config --global http.postBuffer 524288000
(From Not able to clone large repo code on git, and Broken pipe when pushing to git repository).

tymtam
- 31,798
- 8
- 86
- 126
-
`http.postBuffer` has no effect on fetches or clones, only pushes, and it should only be used with known broken servers or proxies that don't support `Transfer-Encoding: chunked`. – bk2204 Oct 24 '19 at 22:46