error: .repo/manifests/: contains uncommitted changes

repo sync同步时提示出错:

         error: .repo/manifests/: contains uncommitted changes

 

解决方法:

1、cd 进入.repo/manifests

cd .repo/manifests

2、执行如下三条命令

git stash

git clean -f -d

3、重新开始同步

repo sync -c -j4 --no-clone-bundle


版权声明:本文为weijory原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。