"I Reset --hard and Lost a Day"

Terminal 0:00
no repository yet

Starting the machine…

Objective 1 of 20/2 done
  1. Find what main was on

    An hour ago you ran git reset --hard HEAD~2, and two commits vanished from git log. git reflog lists every commit HEAD has been on.

You're in

Choose your path

Pick the role you want. Work with the tools you'll use on the job, one lesson at a time.

    Pro

    This lesson is Pro

    Reading won't get you hired. Practicing will. Pro unlocks:

    • Every lab in the real browser terminal
    • Challenge labs that test each chapter
    • Linux, Bash, Git, Docker, Kubernetes, SQL and AWS with All-Access
    “The learning experience is a step above the YouTube and written tutorials I'd tried before, especially the labs.”
    — Alastair, Pro Member
    Unlock everything