remote: warning: suboptimal pack - out of memory 的解决办法
2023-10-23 21:57:44
by 山阴客

打印???
山阴客(http://www.shanyinke.com)
技术文章(http://www.shanyinke.comhref=category.php?cid=1)

用git pull的时候出现了一个错误 说suboptimal pack – out of memory 在网上搜了一下 说在服务器端运行git repack –afd 但是由于没有服务器端运

在 Windows 端使用 git 客户端 clone 远程代码时遇到标题中问题。

解决办法如下:

在服务器端的相应的代码仓库目录下执行:

vim config 

在 config 文件中添加

 [pack] window=0 

保存退出即可解决。

 

 

 

 



Copyright © 2002 myarticle.com.cn
All rights reserved.

备案号:浙ICP备17002154号-3 Powered by: MyArticle Version 1.0dev
Processed Time: 0.0014 s Querys: 4 [ Gzip Level 0 ]