git remove added file before commit
git remove added file before commit
https://stackoverflow.com/questions/348170/how-do-i-undo-git-add-before-commit
$ git reset <file>
$ git reset
OK
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/11694942.html
未经授权禁止转载,违者必究!