如何让git通过代理和IntelliJ Idea来工作? [英] How to get git to work through a proxy and IntelliJ Idea?

查看:176
本文介绍了如何让git通过代理和IntelliJ Idea来工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在哪里为IntelliJ Idea配置GIT的代理设置?我已经获得了插件的代理设置,但我无法为GIT找到它;和帮助文件只提到颠覆。

Where to I configure the proxy settings for GIT in IntelliJ Idea? I've gotten the proxy settings working for the plugins, but I just can't find it for GIT; and the help files only mention subversion.

任何帮助表示赞赏。

推荐答案

你必须为git配置代理,而不是为intelliJ配置,intelliJ只会调用git命令行。

You have to configure proxy for git and not for intelliJ, intelliJ will just call the git command line.

git config --global http.proxy yourProxy:port 执行操作。

这篇关于如何让git通过代理和IntelliJ Idea来工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆