git config --global http.version HTTP/1.1
git config --global http.postBuffer 157286400
-
-
Save daopk/0a95772d582cafb202142ff7871da2fc to your computer and use it in GitHub Desktop.
On WSL, switch to SSH.
First create ssh keys: cd ~/.ssh ssh-keygen -o -t rsa -C "[email protected]" (email address doesn't actually matter, you can put whatevers)
Then print the relevant info: cat id_rsa.pub
Copy paste this into Github->Upper right menu->Settings SSH and GPG keys -> New SSH Key -> title = anything, keytype = authorization, paste the key into the box
You will then have to verify your idenitiy.
Then tell git to use SSH: git config --global url."[email protected]:".insteadOf "https://github.com/"
Everything should work now
@cwm9cwm9 didn't work, how to undo it?
worked for me with this commands and then changing directory to another.
git config --global http.version HTTP/1.1
git config --global http.postBuffer 157286400
You can try increasing post buffer size using
git config --global http.postBuffer 157286400
Thanks great solutionn
Thanks a lot for the solution ...it worked for me
git config --global http.postBuffer 524288000
Thank you so much! This was exactly what I needed. Well done.
git config --global http.postBuffer 524288000
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
Thanks! This solved my problem.
In my case, the error was caused by a previous improper shutdown, which led to the network card data not being cleared. The command sudo ifconfig eth0 down is used to bring down the network interface, where eth0 is the name of the network interface. In Linux, you can use the command ip a to obtain the name of your network interface.
git config --global http.postBuffer 157286400
worked for me. Thanks!
Change of network worked for me ..
yeah i switched to mobile newtork and it worked for me as well
Same, after trying so many solution, using a hotspot solved this problem. (My phone is connected to the same wifi)
Worked for me.
git config --global http.postBuffer 157286400
worked for me. Thanks!
Many thanks, its worked for me.
On WSL, switch to SSH.
First create ssh keys:
cd ~/.ssh
ssh-keygen -o -t rsa -C "[email protected]"
(email address doesn't actually matter, you can put whatevers)
Then print the relevant info:
cat id_rsa.pub
Copy paste this into
Github->Upper right menu->Settings
SSH and GPG keys -> New SSH Key -> title = anything, keytype = authorization, paste the key into the box
You will then have to verify your idenitiy.
Then tell git to use SSH:
git config --global url."[email protected]:".insteadOf "https://github.com/"
Everything should work now