Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
deleted: Assignment_3/Apriori/bodon_trie.pdf
deleted: Assignment_3/Apriori/farhanSir.pdf
deleted: Assignment_3/Apriori/output.txt~
deleted: Assignment_4/Comparision/report.aux
deleted: Assignment_4/Comparision/report.log
deleted: Assignment_4/FPGrowth/FPGrowth.class
deleted: Assignment_4/FPGrowth/FPGrowthApplication.class
deleted: Assignment_4/FPGrowth/Node.class
deleted: Assignment_4/FPGrowth/Result.class
这是 的输出git status
。我想使用git rm --cache Assignment_3/Apriori/boden_trie.pdf ?/farhanSir.pdf
我不想Assignment_3/Apriori
为每个文件键入的方式从 git 缓存中删除它。
使用Bash 大括号扩展:
您可以安装bleachbit,它有一个删除文件或文件夹的选项。