# 将HEAD强制指向manifest的库,而忽略本地的改动。
repo sync -d
# Remove all working directory (and staged) changes.
repo forall -c 'git reset --hard'
# Clean untracked files
repo forall -c 'git clean -f -d'
# 拉代码
repo sync -c
# 将HEAD强制指向manifest的库,而忽略本地的改动。
repo sync -d
# Remove all working directory (and staged) changes.
repo forall -c 'git reset --hard'
# Clean untracked files
repo forall -c 'git clean -f -d'
# 拉代码
repo sync -c