Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I pull from a Git repository through an HTTP proxy?
    primarykey
    data
    text
    <p>Note: while the use-case described is about using submodules within a project, the same applies to a normal <code>git clone</code> of a repository over HTTP.</p> <p>I have a project under Git control. I'd like to add a submodule:</p> <pre><code>git submodule add http://github.com/jscruggs/metric_fu.git vendor/plugins/metric_fu </code></pre> <p>But I get</p> <pre><code>... got 1b0313f016d98e556396c91d08127c59722762d0 got 4c42d44a9221209293e5f3eb7e662a1571b09421 got b0d6414e3ca5c2fb4b95b7712c7edbf7d2becac7 error: Unable to find abc07fcf79aebed56497e3894c6c3c06046f913a under http://github.com/jscruggs/metri... Cannot obtain needed commit abc07fcf79aebed56497e3894c6c3c06046f913a while processing commit ee576543b3a0820cc966cc10cc41e6ffb3415658. fatal: Fetch failed. Clone of 'http://github.com/jscruggs/metric_fu.git' into submodule path 'vendor/plugins/metric_fu' </code></pre> <p>I have my HTTP_PROXY set up:</p> <pre><code>c:\project&gt; echo %HTTP_PROXY% http://proxy.mycompany:80 </code></pre> <p>I even have a global Git setting for the http proxy:</p> <pre><code>c:\project&gt; git config --get http.proxy http://proxy.mycompany:80 </code></pre> <p>Has anybody gotten HTTP fetches to consistently work through a proxy? What's really strange is that a few project on GitHub work fine (<a href="http://github.com/collectiveidea/awesome_nested_set/" rel="noreferrer"><code>awesome_nested_set</code></a> for example), but others consistently fail (<a href="http://github.com/rails/rails/" rel="noreferrer">rails</a> for example).</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload