I used this command several times and it worked every time but today after I created a repo and use it again an error occurred:
git push -u origin master
it gave me this:
error: Received HTTP code 0 from proxy after CONNECT while accessing https://github.com/[myrepo]
fatal: HTTP request failed
I used echo $http_proxy
and got http://127.0.0.1:48100
.But I don't remember I ever set this.(I do use this one for my firefox sometimes.) And I used the unset
command but it still gave me the same error. Is there a way I can set this proxy thing to none permanently?
Is there some other ways to achieve this?
Any help is appreciated!