0/4

Challenge11

advanced

Recovery Challenge

Scenario

Before lunch you stashed your half-finished export button to look at a bug. Then a git reset --hard HEAD~1 went wrong and the Add invoices commit disappeared from main.

Bring Add invoices back, bring your export work back and commit it as Add export button, and leave nothing stashed or uncommitted.

Mission

Undo a bad morning on main without losing anyone's work.

Objectives

0/4
  1. main contains Add invoices again. (Current objective)
  2. main has a commit Add export button with your stashed work. (Not started)
  3. Nothing is left in the stash. (Not started)
  4. The working tree is clean. (Not started)

Your task nowStep 1 of 4

main contains Add invoices 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.