We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Git Reset Hard

In the last lesson, we undid a commit but kept the changes. We don't want to keep the changes to titles.md. Here's how to reset those changes:

git reset --hard COMMITHASH

The --hard flag makes your working directory and staging area match the specified commit exactly, discarding any local changes. This is useful if you just want to go back to a previous commit and discard all the changes.

Assignment

git status

Run and submit the CLI tests from the root of your webflyx directory.