The git reset Command
Learn how to recover the previous state of our Git repository.
Significance of git reset
The git reset
command uncommits the tracked changes. After a reset, commits are removed. The removed changes are put into our working directory, either in the staging area or as untracked changes.
Get hands-on with 1400+ tech skills courses.