在 git status 时提示的是使用以下命令:
git status
git restore --staged file_name
也可以用老式的方法:
git reset HEAD file_name
将暂存区中的变动撤回到工作区
原文:https://www.cnblogs.com/aisowe/p/15250236.html