删除非追踪文件

Last edited
Last updated July 19, 2023
Pages
Tags
下面指令能够删除所有不包含在 git 中的文件,例如 node_modules,因为它会删除文件,所以谨慎使用(比较缓存有时候也是有用处的):
git clean -d -f -x