git restore 还原文件 相当于rollback git restore aa.txt git rm --cached 改为未追踪 git rm --cached config/db/db.sql