Skip to content

Instantly share code, notes, and snippets.

  • Save boubkhaled/ca90c7dab5cf7017eaa6bd27fc1a014d to your computer and use it in GitHub Desktop.
Save boubkhaled/ca90c7dab5cf7017eaa6bd27fc1a014d to your computer and use it in GitHub Desktop.
git config --global http.postBuffer 524288000
git clone http://github.com/large-repository --depth 1
cd large-repository
git fetch --unshallow
On Linux
Execute the following in the command line before executing the Git command:
export GIT_TRACE_PACKET=1
export GIT_TRACE=1
export GIT_CURL_VERBOSE=1
On Windows
Execute the following in the command line before executing the Git command:
set GIT_TRACE_PACKET=1
set GIT_TRACE=1
set GIT_CURL_VERBOSE=1
Disable the default 1GB limit of proxy_max_temp_file_size for Nginx. Value need to be set as zero to disable it
You can find more details here http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_max_temp_file_size .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment