how to undo git add before commit
 Possible Duplicate:  
 Undo git add before commit  
When i was working on my project I accidently added files using the following command
git add file
I haven't yet run
git commit.
How can I undo or remove these newly added files from the commit?
Please help.
 git reset是一个字面上的“撤消” git add - 它从阶段区域中删除更改。 
上一篇: 撤消多个文件和文件夹'git add'
下一篇: 如何在提交之前撤消git add
