git doesn't work behind proxy since version 1.7.9 -
since git 1.7.9 haven't been able clone, fetch, or force repositories through proxy server. works version 1.7.8, newer versions, including latest version, throw error:
error: failure when receiving info peer while accessing http://github.com/... fatal: http request failed
i have set http.proxy property in git config, sufficient in 1.7.8. way able newer versions of git running utilize cntlm.
what doing wrong?
i cloning git1.7.9+ (recently 1.8+) behind proxy.
i don't, however, set http.proxy in git configuration. do, on windows or unix, set environment variables:
http_proxy=http://user:password@proxy.fr.domain:80/ https_proxy=http://user:password@proxy.fr.domain:80/ no_proxy=*.domain
and clone/push/pull github repos without issue.
git proxy
No comments:
Post a Comment