git status下,查看有deleted文件 用git rm 会报错,did not match any files,提示没有此文件。 git add -u git commit -m "commit deleted files"