首页 > 技术文章 > 常用命令
zwvs 2020-04-13 09:16 原文
1.git restore <file>
2.git restore --staged 将文件从暂存区撤出,但不会撤销文件的更改
git restore --staged