Git reset
Jump to navigation
Jump to search
Internal
Discard All Local Changes
git reset --hard HEAD
Resets the index and the working tree to the specified commit, by discarding all local changes to the tracked files.
git reset --hard HEAD
Resets the index and the working tree to the specified commit, by discarding all local changes to the tracked files.