[root@666 IT-DOC]# git status -s ?? a.txt [root@666 IT-DOC]# git add a.txt [root@666 IT-DOC]# git status -s A a.txt [root@666 IT-DOC]# git reset HEAD a.txt [root@666 IT-DOC]# git status -s ?? a.txt
git add 不必要的文件 如何撤回
原文:http://www.cnblogs.com/bass6/p/7286645.html