1

I have tried different methods to install this, but it still does not work. I am trying to clone from github using git clone https://github.com/CocaPods/Specs.git master. Please share your ideas. I am using Mac Sierra with 8GB Ram.

enter image description here

Christoph
  • 6,841
  • 4
  • 37
  • 89

2 Answers2

0

This error most likely cause of low buffer size of git. Other reason, Antivirus or Firewall could be modifying the HTTP packets.

  • Increase the git buffer size:
    $ git config --global http.postBuffer 2M
  • Disable your Antivirus or Firewall for some time and try clone again.
Sajib Khan
  • 22,878
  • 9
  • 63
  • 73
0

not sure if your problem is cloning or running some command of the project.

to clone try both:

  • git clone https://github.com/CocoaPods/Specs.git
  • git clone git@github.com:CocoaPods/Specs.git
pedrorijo91
  • 7,635
  • 9
  • 44
  • 82