After git reset is returned to a certain version, the git repository root workspace becomes that version, and the staging area is empty?

how can git reset only return the version of the git repository to a certain version without affecting the workspace and the staging area?
with such a rollback, all the new things in the workspace are gone

Mar.09,2021
Menu