The git reset Command

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 1200+ tech skills courses.