git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Git submodule first time update with proxy

From
RDRobert 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?
Next: Chris Packham
Message 1 of 5 in “Git submodule first time update with proxy”
  1. Robert DaileyJan 23, 2015
  2. Chris PackhamJan 23, 2015
  3. Robert DaileyJan 24, 2015
  4. Robert DaileyJan 24, 2015
  5. Chris PackhamJan 24, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.