git命令

删除错误添加到暂存区的文件 

git rm --cache xxx

或git reset xxx

原文地址:https://www.cnblogs.com/ocean1100/p/8318412.html