repo sync同步代码时候出现
Q:error: packages/apps/Wizard/: contains uncommitted changes
出现这个问题的原因是本地代码发生变化,但未commit。通过 git reset --hard xxx ,repo sync同步依然存在上述问题。
A:
//解决方法
cd packages/apps/Wizard/
git stash
git clean -f -d 删除变化记录目录
repo sync
repo sync同步代码时候出现
Q:error: packages/apps/Wizard/: contains uncommitted changes
出现这个问题的原因是本地代码发生变化,但未commit。通过 git reset --hard xxx ,repo sync同步依然存在上述问题。
A:
//解决方法
cd packages/apps/Wizard/
git stash
git clean -f -d 删除变化记录目录
repo sync