Git download errors / is there a way to download without git?

I've been trying to clone this using tortoiseGit, git bash, and github desktop. I installed git lfs windows v2.6.1.

The error is this:
remote: Enumerating objects: 2, done.
remote: Counting objects: 100% (2/2), done.
remote: Compressing objects: 100% (2/2), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

I've tried several things like changing postBuffer to something bigger, changing compression, cloning depth 1, disabling firewall, set GIT_TRACE_PACKET=1, set GIT_TRACE=1, set GIT_CURL_VERBOSE=1, and probably other stuff i've forgotten.

My internet speed is 110MB/S down, 6MB/S up.

Is there an alternative way to download or does anybody have ideas to fix this issue?

I don't use git desktop, but can't you just go to the Github page and clone/download from there (Big green button on the right :) )
https://github.com/Unity-Technologies/FPSSample

Thats what I've tried, it gives the error message I put earlier (did it again anyway just in case)

? so the error comes from your web browser?
Did you choose "download ZIP" ?

The web browser loads up tortoiseGit or github desktop with the URL put in already then the error is in there.

The README.md states "Downloading a zip file using the green button on Github will not work."
IMPORTANT: This project uses Git Large Files Support (LFS). Downloading a zip file using the green button on Githubwill not work. You must clone the project with a version of git that has LFS. You can download Git LFS here: https://git-lfs.github.com/.

ah, right.
Hope someone else can help you..

without GIT Command line:
You could use GITZIP, as a Browser Plugin for Chrome or FireFox. Then go to GIThub and download the folders with the browser plugin to help you download the project folder by folder. I have not done this route, but did a bit of research into it. It should work, they are standard GIT ZIP plugins. I'm on a GIG internet, but 20GB is still a ton.

With GIT Command line:
You may be using the wrong git lfs command, this should be the string you use via command line to download with git installed as a command line tool, and LFS also installed to expand GIT to allow you to download the whole 20~ GB of the FPS SAMPLE.

Once you have downloaded and installed command line GIT, also download and install command line LFS support for GIT. Then launch a command promt and type:

*git clone https://github.com/Unity-Technologies/FPSSample c:\where_you_want_the_download_to_go*

Then go about your day, as you download 20 GB.

Brackys covers importing the fps sample once cloned correctly, but sadly does not show the git commands.

https://www.youtube.com/watch?v=aTnBAzin9vE|start=317

Thanks for the response,

I tried the chrome extension "GitZip for github" and after double clicking on the white space next to the folders and downloading, that gave me the same zip file as clicking download zip did.

I think I have commandline git and lfs installed correctly but I'll try uninstalling and reinstalling them to make sure.

I just reinstalled commandline git and git lfs and get the same error.

$ git clone https://github.com/Unity-Technologies/FPSSample.git q:\Unity
Cloning into 'q:Unity'...
remote: Enumerating objects: 2, done.
remote: Counting objects: 100% (2/2), done.
remote: Compressing objects: 100% (2/2), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

I've already asked for an alternate way of downloading this project (a torrent file, for example), never got any answer.

1 Like

[quote=“littlekenny”, post:9, topic: 725336]
$ git clone https://github.com/Unity-Technologies/FPSSample.git q:\Unity
[/quote]

Try removing the .git like so:
git clone https://github.com/Unity-Technologies**/FPSSample** q:\Unity

still got the same issue

$ git clone https://github.com/Unity-Technologies/FPSSample q:\Unity
Cloning into 'q:Unity'...
remote: Enumerating objects: 2, done.
remote: Counting objects: 100% (2/2), done.
remote: Compressing objects: 100% (2/2), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

I think you may have some firewall or network issues causing this... I just tried these commands and the download started fine:

C:\Users\DP>mkdir testtesttest
C:\Users\DP>git clone https://github.com/Unity-Technologies/FPSSample testtesttest
Cloning into 'testtesttest'...
remote: Enumerating objects: 2, done.
remote: Counting objects: 100% (2/2), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 15470 (delta 0), reused 0 (delta 0), pack-reused 15468
Receiving objects: 100% (15470/15470), 209.36 MiB | 30.33 MiB/s, done.
Resolving deltas: 100% (7803/7803), done.
Checking out files: 100% (12437/12437), done.
Filtering content: 8% (186/2322), 131.52 MiB | 125.78 MiB/s
<<>>
Exiting because of "interrupt" signal.
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'
C:\Users\DP>

Thanks for the help. I think it was likely a network issue that I couldn't figure out so in the end I got my brother to download it, compress it, then send it to me so now I have it working.

2 Likes