当前位置: 首页 > 工具软件 > clean-publish > 使用案例 >

repo clean

章侯林
2023-12-01

repo没有clean这个命令,如果需要清洁路径,删除没有追踪的文件,需要执行:

repo forall -c "git clean -df"

将repo路径里的所有文件完全恢复到最初状态,需要执行:

repo forall -c "git reset --hard HEAD"

repo forall -c "git clean -df"

 

 类似资料:

相关阅读

相关文章

相关问答