How to remove all added files in GIT
By mistake I used
git add . so all files are added in staring area. I want to remove all those files from staring area.
git clean -fdx git clean -df
but it isn’t worked.
2 Solutions collect form web for “How to remove all added files in GIT”
you need use the
git reset --mixed.
--mixed if for clearing the stage/cache/index area.
If that is the case, then
git reset HEAD will do the job