所有文件

git reset HEAD .

单个文件
git reset HEAD -filename

 

git add *

多个文件可以 git reset HEAD .

单个文件
git reset HEAD 文件名