I accidentally committed the wrong files to Git, but I haven't pushed the commit to the server yet.
How can I undo those commits from the local repository?
git status
git reset --soft HEAD~
git reset HEAD~
git add
reset
.git/ORIG_HEAD
commit
-c ORIG_HEAD
-C