Undo the most recent local commits in git

Last updated 3 years, 1 month ago | 1287 views 75     5

Tags:- Git

Git | Undo the most recent local commits

Bellow command is used to reset the last local commit.

git reset HEAD~