repo没有clean这个命令,如果需要清洁路径,删除没有追踪的文件,需要执行
repo forall -c "git clean -df"
将repo路径里的所有文件完全恢复到最初状态,需要执行
repo forall -c "git reset --hard HEAD" repo forall -c "git clean -df"
标签:git,df,路径,repo,clean,forall From: https://www.cnblogs.com/liangduo/p/17479967.html