git使用.gitignore文件过滤提交三部曲 //第一步 清缓存 git rm -r --cached . //第二步 添加 git add . //第三步 提交 git commit -m "版本说明"