We are doing source control with git on Microsoft Team Foundation Server. The git operation is mainly executed from VisualStudio. I can not clone in a git repository in it.
Regarding the target git repository, I can commit, push, and pull in the repository already cloned, but if I try to clone newly, I get an error.
When I clone at the command prompt, the following message will be displayed.
git clone [my_repo_URI]
remote: Found 8963 objects to send. (876 ms)
remote: A positive capacity must be specified for a Memory Mapped File backed by an empty file.
fatal: early EOF
fatal: index-pack failed
I investigated the error and tried the next thing, but a similar error occurred.
git config - global http.postBuffer 524288000
git clone [my_repo_URI]
git gc
git repack - a - f - d - window = 250 - depth = 250
git clone [my_repo_URI]
git clone --depth 1 [my_repo_URI]
I'd like to make clone possible, how can I solve it?