git 专辑 问题:Auto packing the repository

2025-04-08 08:45:27

1、问题描述:查资料,原来是自己本地一些 “悬空对象”太多(git献皲咝犴删除分支或者清空stash的时候,这些其实还没有真正删除,成为悬空对象,我们可以使用merge命令可以从中恢复一些文件)

2、简述操作出现问题的界面和操作我们进行 拉取 或者 获取的时间会提示如图所示错误 不要着急,只需一步轻松搞定:

git 专辑 问题:Auto packing the repository
git 专辑 问题:Auto packing the repository

3、打开 git bash输入命令git gc --prune=now 回车

git 专辑 问题:Auto packing the repository
git 专辑 问题:Auto packing the repository

4、执行完早操作 就没问题了

git 专辑 问题:Auto packing the repository
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢