开发者

Can't push to github through proxy

开发者 https://www.devze.com 2023-02-10 00:47 出处:网络
Please help, I\'m trying to push to github from my workplace... I\'ve tried this: myuser@somewhere /c/sites/mrquery (mas开发者_JAVA技巧ter)

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

myuser@somewhere /c/sites/mrquery (mas开发者_JAVA技巧ter)
$ 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"


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

0

精彩评论

暂无评论...
验证码 换一张
取 消