LoginSignup
98
96

More than 5 years have passed since last update.

gitでプロキシを設定

Last updated at Posted at 2014-07-30

自分のためのメモ。

設定方法

下記コマンドをたたく

$git config --global http.proxy http://proxy.example.com:8080
$git config --global https.proxy http://proxy.example.com:8080

これにより ~/.gitconfigに下記が追加される。

.gitconfig
[http]
        proxy = http://proxy.example.com:8080
[https]
        proxy = http://proxy.example.com:8080
[url "https://"]
        insteadOf = git://
98
96
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
98
96