git status 时提示的是使用以下命令:

git restore --staged file_name

也可以用老式的方法:

git reset HEAD file_name

相关文章: