Challenges · Recovery

Recover a Deleted File

0/4

Challenge

intermediate

Recover a Deleted File

Scenario

A cleanup removed docs/deploy.md, but the operations team still needs its deployment checklist. Since then, Add health endpoint introduced unrelated production work that must stay in place.

Mission

Restore the deployment checklist with its original contents, preserve the newer health endpoint work, and leave the restoration recorded on a clean main branch.

Objectives

0/4
  1. main contains a commit called Restore deployment runbook. (Current objective)
  2. The deployment checklist is restored with its original contents. (Not started)
  3. The newer health endpoint commit remains in main history. (Not started)
  4. The working tree is clean. (Not started)

Your task nowStep 1 of 4

main contains a commit called Restore deployment runbook.

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.