Git submodule first time update with proxy
- From
- Robert Dailey <rcdailey.lists@gmail.com>
- Date
- Jan 23, 2015, 02:50 UTC
- Message-ID
- <CAHd499BEmV2zeosE9th59QTWPA0CPsU8eyHnONhsZqEb=bH+rA@mail.gmail.com>
I have a submodule using HTTP URL. I do this:
$ git submodule init MySubmodule $ git submodule update MySubmodule
The 2nd command fails because the HTTP URL cannot be resolved, this is because it requires a proxy. I have "http.proxy" setup properly in the .git/config of my parent git repository, so I was hoping the submodule update function would have a way to specify it to inherit the proxy value from the parent config.
How can I set up my submodule?