git 重置指定文件

Git 2.23 版本引入的新命令

git restore <文件名>

老的

git reset file
文章目录