Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save enqtran/10e33674701967edd12c3cf224c835f8 to your computer and use it in GitHub Desktop.
Save enqtran/10e33674701967edd12c3cf224c835f8 to your computer and use it in GitHub Desktop.
GIT:
git config --global http.postBuffer 524288000
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.
@enqtran
Copy link
Author

enqtran commented Apr 8, 2024

Respository didn't exists error on executing line 4 "git clone http://github.com/large-repository --depth 1"

The above is just an example of a large-sized repository

@enqtran
Copy link
Author

enqtran commented Apr 8, 2024

How to I fix this for github desktop?

You should use the git config commands in the Windows terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment