Using Vundle for Proxy

We have this neat little script at work that allows us to use the Internet through a proxy server from a linux environment. for instance

withproxy git clone https://github.com/VundleVim/Vundle.vim.git

works great and doesn't even ask for my username and password.

How do I set this in .vimrcfor Vundle so that all git objects are prefixed by this proxy script?

+4
source share
1 answer

How to set this in .vimrcfor Vundle so that all git objects are prefixed using this proxy script?

No. Instead, you do gitthrough a proxy:

git config --global http.proxy http://username:password@proxy.example.com:8080

You can also set the environment variable http_proxyto the same thing:

export http_proxy='http://username:password@proxy.example.com:8080'

https_proxy, .

+5

All Articles