<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>adams.co.tt blog - tagged with git</title>
  <id>http://adams.co.tt/</id>
  <updated>2010-03-18</updated>
  <author>
    <name></name>
  </author>
  <entry>
    <title>Problems cloning from github?</title>
    <link rel="alternate" href="http://adams.co.tt/blog/2010/03/18/problems-cloning-from-github/"/>
    <id>http://adams.co.tt/blog/2010/03/18/problems-cloning-from-github/</id>
    <published>2010-03-18</published>
    <updated>2010-03-18</updated>
    <author>
      <name></name>
    </author>
    <content type="html">&lt;p&gt;When cloning from github, myself and others have been receiving the following error:&lt;br /&gt;&lt;pre&gt;$ git clone http://github.com/rails/rails.git&lt;br /&gt;Initialized empty Git repository in ./rails/.git/&lt;br /&gt;got 41af6d9a78446a5219a321cf638945b1608cefd8&lt;br /&gt;walk 41af6d9a78446a5219a321cf638945b1608cefd8&lt;br /&gt;Getting alternates list for http://github.com/rails/rails.git&lt;br /&gt;Getting pack list for http://github.com/rails/rails.git&lt;br /&gt;Getting index for pack 1f58330b738a4c1046b0da9b07830f2d658e5169&lt;br /&gt;got 95a5e284c6504e28802aa3a8168a8b7cc450a0e5&lt;br /&gt;got fe2f383cf3c0aa6901487c398b9ae8ffce03ecbd&lt;br /&gt;error: Unable to get pack index http://github.com/rails/rails.git/objects/pack/pack-1f58330b738a4c1046b0da9b07830f2d658e5169.idx&lt;br /&gt;&lt;br /&gt;Getting index for pack fc8e2c8270c16a9a2d401f1f44ddd4e5eb3ec1ce&lt;br /&gt;Getting index for pack afc0d5bc07e84621fd69897165322a40cb9179c2&lt;br /&gt;Getting index for pack 0dc33522bcfc9731cb6b414e4665ec9acb74e0a4&lt;br /&gt;error: Unable to find 5b3f7563ae1b4a7160fda7fe34240d40c5777dcd under http://github.com/rails/rails.git&lt;br /&gt;Cannot obtain needed object 5b3f7563ae1b4a7160fda7fe34240d40c5777dcd&lt;br /&gt;while processing commit 41af6d9a78446a5219a321cf638945b1608cefd8.&lt;br /&gt;fatal: Fetch failed.&lt;/pre&gt;&lt;br /&gt;Turns out that github sometimes has problems with cloning over http. Using git as the protocol seems to be less error prone and much quicker:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;$ git clone git://github.com/rails/rails.git&lt;/pre&gt;&lt;/p&gt;
</content>
  </entry>
</feed>
