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
博客主要讲述了repo sync同步时出现错误,提示'.repo/manifests/包含未提交更改'的问题。并给出了解决办法,先进入.repo/manifests目录,接着执行git stash和git clean -f -d命令,最后重新开始同步,使用repo sync -c -j4 --no-clone-bundle。
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

被折叠的 条评论
为什么被折叠?