Git入门教程L1 Git基础git rm 删除文件git rm 删除文件 git rm 作用范围: 命令工作区(磁盘)暂存区版本库git rm file❌ 删除❌ 删除✅ 保持不变git rm --cached file✅ 保持不变❌ 删除✅ 保持不变