xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

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


posted @ 2019-10-17 20:42  xgqfrms  阅读(43)  评论(3编辑  收藏  举报