Hard
Learn about Hard in Git
--hard
With this option, both the HEAD pointer and the working directory's contents are updated to match the specified commit. Any changes made since then will be lost.
Free Resources
official:
Learn about Hard in Git
With this option, both the HEAD pointer and the working directory's contents are updated to match the specified commit. Any changes made since then will be lost.
official: