User Tools

Site Tools


git:gitgit-large-files

Back to git main page

Sometimes when trying to clone repos with large file , a curl error can occur :

Cloning into 'project'... error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 fatal: the remote end hung up unexpectedly

Change the buffer size :

git config http.postBuffer 524288000

and then set the origin ::

git remote add origin git@github.com:username/project.git

after that clone your project. Your problem should be resolved.

git/gitgit-large-files.txt · Last modified: 2023/03/31 12:17 by 127.0.0.1