error: manifest missing or unreadable — please run init

使用repo init同步代码报如下错误:
错误信息:

error: in "sync -c -f --no-tags -j4": [Errno 2] No such file or directory :u'/media/xxx/xxx/xxx/XXXInterface/.git/HEAD'
error: manifest missing or unreadable -- please run init

 

error.png

当执行命令repo init后如果获取文件失败,会在.repo目录下生成一个manifests.git文件:

show.png

如果该文件存在,再次运行 repo init就会报这个错误。

把这个manifests.git文件夹删除,再次repo init 即可!

发表回复

后才能评论