I'm trying to get used to the VS git plugin. I'm using it with bitbuket and GitHub remote repositories.
Sometimes i get the following error :
An error was raised by libgit2. Category = Net (Error).
Chunked encoding upload is not supported on the HTTP/1.0 protocol.
Is someone knowing how to avoid this error ?
To enable force push, go to the top level menu, select “Git > Settings” and check the “Enable push --force” option. I hope this helps!
If git push origin master not working , all you need to do is edit that file with your favourite editor and change the URL = setting to your new location. Assuming the new repository is correctly set up and you have your URL right, you'll easily be able to push and pull to and from your new remote location.
The new Git experience is the default version control system in Visual Studio 2019 from version 16.8 onwards. However, if you want to turn it off, you can. Go to Tools > Options > Environment > Preview Features and then toggle the New Git user experience checkbox, which will switch you back to Team Explorer for Git.
The problem came from the proxy server i had to use at work which didn't support the HTTP/1.1 protocol.
Our sysadmin confirmed me that he was using squid 2.7 and he didn't support HTTP/1.1.
Thank's again for the tip.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With