如何清除“要提交的更改”列表?(How can I clean the list of “Changes to be committed:”?)
如何删除“要提交的更改”列表中的所有内容,返回“未提交的更改”状态? 我基本上想要撤消git add -A所做的事情。
How can I remove everything in the list of "Changes to be committed", back to the "Changes not staged for commit" state? I essentially want to undo whatgit add -A did.
最满意答案
使用git reset
您还可以使用git reset <file>选择性地重置文件
Use git reset
You can also selectively reset files with git reset <file>
更多推荐
发布评论