minigames
Leaderboard
Settings
← Games
/
Git Scenario
0:00
Restart
Round 1 / 5
0 correct
Undo the last commit but keep the changes staged.
git reset --hard HEAD~1
git reset --soft HEAD~1
git revert HEAD
git checkout HEAD~1