拉取android代码出现数据完整性问题(cannot fetch error)
取仓库时出现特定的 Git 对象(aml_ads_341826060)是“坏的”或损坏的,或者根本没有被发送
传输或存储在你本地 Git 仓库对象数据库中的数据完整性出现了问题。

解决方案:
# 进入对应目录
cd /data/lishangzhe/android
# 删除工作目录下的实际文件
rm -rf art/
# 删除项目对应的裸仓库
rm -rf .repo/projects/platform/art.git
# 删除项目共享的 Git 对象
rm -rf .repo/project-objects/platform/art.git
# 清除 Repo 的全局缓存中 platform/art 的数据
rm -rf ~/.cache/repo/platform/art.git
# 重新运行 platform/art 的单独同步命令
repo sync platform/art -c --no-tags --current-branch -j1 --force-sync
浙公网安备 33010602011771号