

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: Undoing Changes
incomplete
2: Git Reset Soft
incomplete
3: Git Reset Hard
incomplete
4: Danger
incomplete
This lesson's interactive features are locked, please to keep using them
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.
git status
Run and submit the CLI tests from the root of your webflyx directory.