1.问题
同步代码时运行repo sync,出现问题:
error: .repo/manifests/: contains uncommitted changes
2.解决
# 1.进入这个目录,将修改释放
cd .repo/manifests
git status
git stash
# 2.再次运行
repo sync
# 3.如果上述出现其他的目录下有contains uncommitted changes,进入check一下,如果无关紧要
git stash
# 想恢复修改,可以使用命令
git stash pop
# 3.1如果是打开未修改,但显示修改,可以使用
git config core.filemode false