注: 説明されている使用例はプロジェクト内でのサブモジュールの使用に関するものgit clone
ですが、HTTP を介した通常のリポジトリにも同じことが当てはまります。
Git の管理下にあるプロジェクトがあります。サブモジュールを追加したい:
git submodule add http://github.com/jscruggs/metric_fu.git vendor/plugins/metric_fu
しかし、私は得る
...
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'
HTTP_PROXY をセットアップしました。
c:\project> echo %HTTP_PROXY%
http://proxy.mycompany:80
http プロキシ用のグローバル Git 設定もあります。
c:\project> git config --get http.proxy
http://proxy.mycompany:80
HTTP フェッチがプロキシ経由で一貫して機能するようになった人はいますか? 本当に奇妙なのは、GitHub のいくつかのプロジェクトが正常に動作することです (awesome_nested_set
たとえば) が、他のプロジェクトは一貫して失敗します (たとえばrails )。