git clone error. fatal: the remote end hung up unexpectedly
error: RPC failed;
curl 56 OpenSSL SSL_read: No error
fatal: the remote end hung up unexpectedly
fatal: early EOF
git -c filter.lfs.smudge= -c filter.lfs.required=false -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks clone --branch master https://user@bitbucket.org/viewer.git C:\Users\viewer Cloning into 'C:\Users\viewer'... error: RPC failed; curl 56 OpenSSL SSL_read: No error fatal: the remote end hung up unexpectedly fatal: early EOF
$ git clone --depth 1 <my_repo_URI> ./folder $ git config http.postBuffer 52428000 $ git fetch --depth 8 $ git fetch --unshallow
$ git config http.postBuffer 52428000 $ git fetch --unshallow remote: Counting objects: 6651, done. remote: Compressing objects: 100% (2472/2472), done. error: RPC failed; curl 56 OpenSSL SSL_read: No error04 MiB/s fatal: the remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed
$ git fetch --depth 8 remote: Counting objects: 613, done. remote: Compressing objects: 100% (410/410), done. error: RPC failed; curl 56 OpenSSL SSL_read: No errorMiB/s Receiving objeremote: Total 613 (delta 316), reused 441 (delta 174) Receiving objects: 100% (613/613), 930.01 MiB | 2.23 MiB/s, done. Resolving deltas: 100% (316/316), completed with 58 local objects.
$ git fetch --unshallow remote: Counting objects: 6042, done. remote: Compressing objects: 100% (2175/2175), done. remote: Total 6042 (delta 3810), reused 5770 (delta 3616) error: RPC failed; curl 56 OpenSSL SSL_read: No error Receiving objects: 100% (6042/6042), 568.17 MiB | 1.67 MiB/s, done. Resolving deltas: 100% (3810/3810), completed with 147 local objects.
これで、うまくできた。