Can't push to github through proxy

2020-07-24 04:14发布

问题:

Please help, I'm trying to push to github from my workplace... I've tried this:

myuser@somewhere /c/sites/mrquery (master)
$ git remote add origin ssh://git@github.com:breienr/mrquery.git

myuser@somewhere /c/sites/mrquery (master)
$ git http-push origin master
error: Cannot access URL origin/, return code 22

myuser@somewhere /c/sites/mrquery (master)
$ git config --get http.proxy
proxy:8080

but i still get "error: Cannot access URL origin/, return code 22"

回答1:

As described here and here, your proxy server probably doesn’t have WebDAV enabled.



标签: git proxy github