Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • 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.
@TonyV23
Copy link

TonyV23 commented May 17, 2022

It did not work for me am windows user

@abhijithpk2
Copy link

not working for windows

@TonyV23
Copy link

TonyV23 commented Oct 14, 2022

ok

@roeltje25
Copy link

This fixed my issue! Thank you for the mention of proxy_max_temp_file_size otherwise I would have pulled my hair out.....

@HussainFadl
Copy link

@roeltje25
you are macos ???

@vyatkh
Copy link

vyatkh commented Jan 8, 2024

@roeltje25 you are macos ???

12 - 14 works on Mac Os Mojave

@sohail-karim
Copy link

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

@DorobantuRares
Copy link

How to I fix this for github desktop?

@JianjingH
Copy link

wo~nice bro

@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