今天換電腦,要重新clone新項目,結果報了如下錯誤:
remote: Counting objects: 19442, done.
remote: warning: suboptimal pack - out of memory
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header
網上搜索了下,進入git服務器,輸入如下命令:git config --global pack.windowMemory "100m"
完美解決問題!