今天换电脑,要重新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"

完美解决问题!

相关文章:

  • 2021-07-15
  • 2022-12-23
  • 2021-08-16
  • 2022-12-23
  • 2021-07-19
  • 2021-09-21
  • 2022-12-23
  • 2021-07-13
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-17
  • 2022-12-23
  • 2021-09-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案