Git学习 -- 删除文件时间:2023-12-01 22:14:381 从版本库删除文件 git rm <file> git commit -m "xxx" 2 工作区中文件被误删,但版本库中没有删除,可以恢复到工作区 git checkout -- <file>