Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Aaron HARPT
Aaron HARPT
19,845 Points

Cloning a remote repository from bitbucket

I am having trouble with cloning a repository from bitbucket: When I attempt to run git clone (url) it gets to around twenty four percent and then just spins, so I tried running it overnight and I got an error that looked like:

Connection to bitbucket.org closed by remote host.bytes/s fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed

I was then able to find this on stack overflow, http://stackoverflow.com/questions/21277806/fatal-early-eof-fatal-index-pack-failed. However, when I use the --depth 1 flag like the correct answer suggested, it gets to fifty five percent then gives the same problem ("spinning"). Any suggestions would be appreciated.

Did you try rolling back to an older version of git as suggested in that question on Stack Overflow?