跳转至

将文件重置到最后一次提交

可以使用git restore <fileName>将特定文件重置到最后一次commit的状态,需要注意清空缓存区。