I am trying to clone my project from GitHub private repo using Ubuntu 13.04.
I am getting error as below all the time
error: RPC failed; result=18, H
I do believe that this is caused by a repository that is too large (because I believe I got the same error when I tried to check out (i.e., clone) a repository that was larger than 1 GB.). That suspicion was also raised by isherwood in StackOverflow: Pull large repository (more than 1GB size) over http fail
So, this post here is a copy of the solution I've posted in the before-mentioned link.
For more information about the meaning of 1., i.e., a shallow clone, see StackOverflow: Is it safe to shallow clone with --depth 1, create commits, and pull updates again?
For more information about the meaning of 2., see StackOverflow: https://stackoverflow.com/questions/6802145/how-to-convert-a-git-shallow-clone-to-a-full-clone.
Regarding 3: This is, I believe, just to double-check. At least for me that did not bring me any updates.
First check if the issue persists, because there were some issues this morning with GitHub.
See its status history:
Today
6:52 UTC Everything operating normally.
6:50 UTC Some GitHub pages are again unavailable. We are continuing to investigate.
If it does persists, check also if you can reproduce it on different computer/OS.
As shown in this issue, if this really is because of some huge content, then test it with a shallow clone.