How do I remove the untracked files in git?
https://www.quora.com/How-do-I-remove-the-untracked-files-in-git
untracked files 是未跟踪的文件
我建议对此使用以下命令。它允许您撤消删除操作。
git stash -u
解决方法如下:
Hide modifications of tracked files with git stash
Hide untracked files with git stash -u
Bring back the tracked files modifications with git stash pop stash@{1}
If everything works as you have expected, remove the untracked files completely with git stash drop