git reset [--hard, --mixed, --soft] [commitHash, file, HEAD~N]
–hard will erase all
–mixed will move out from index
–soft will be visible only on another commit, and don’t move out from index
git reset [--hard, --mixed, --soft] [commitHash, file, HEAD~N]
–hard will erase all
–mixed will move out from index
–soft will be visible only on another commit, and don’t move out from index