My git
client repeatedly fails with the following error after trying to clone the repository for some time.
What could be the issue here?
Obs.: Changing http.postBuffer
might also require to set up the Nginx configuration file for gitlab to accept larger body sizes for the client, by tuning the value of client_max_body_size.
However, there is a workaround if you have access to the Gitlab machine or to a machine in its network, and that is by making use of git bundle
.
git bundle create my-repo.bundle --all
git clone my-repo.bundle
git remote set-url origin "path/to/your/repo.git"
git push
All the best!