git 修改管理

查看修改:

撤销某一文件的修改(还没提交):

撤销所有文件的修改:

git checkout .

原文地址:https://www.cnblogs.com/rixiang/p/5597719.html