I got the 413 Request Entity Too Large
error after running this command:
git push -u test1 current-repo --force
What is a reason of this error? How to avoid this error?
I got the 413 Request Entity Too Large
error after running this command:
git push -u test1 current-repo --force
What is a reason of this error? How to avoid this error?
Guess you have a reverse proxy like Nginx configured. That by default is limited to a 10m upload size. Check out http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size for how to configure your proxy.
It worked for me after deleting the whole repository.And committing all files to the repository.
I fixed this issue for me by deleting the ".git" folder and adding the large folder into .gitignore and starting over from the init.