Challenges · Recovery

Lost Commit

0/4

Challenge

intermediate

Lost Commit

Scenario

Cleaning up branches before a release, you ran git branch -D on feature/payments. Only afterwards did you remember it had two commits nobody had merged yet: the checkout flow and its receipt emails. git log no longer shows them anywhere.

Mission

Bring feature/payments back with both of its commits, without touching main.

Objectives

0/4
  1. feature/payments exists again. (Current objective)
  2. It contains Add checkout flow. (Not started)
  3. It contains Send receipt emails. (Not started)
  4. main still points at Add opening hours. (Not started)

Your task nowStep 1 of 4

feature/payments exists again.

Need help?

Preparing your workspace…

Repository Graph

Click a commit to inspect it

0 commits

Working Tree

Not a Git repository yet

No unstaged changes

Your working tree matches the staging area.

Staging Area

Files prepared for the next commit

No staged changes

Use git add to prepare files for your next commit.

Repository

Committed history

No commits yet

Use git commit to record staged changes.