企業局域網代理有時僅僅提供http代理,當用git push/clone等命令行工具時,鏈接遠程庫會出現錯誤:fatal:unable to access 'https://github.com/.../...git/':couldn't resolve host 'github.com'git
解決辦法是讓git也用上代理:git config --global http.proxy http://x.x.x.x:8080/github