Challenges · Recovery

Recover Stashed Work

0/5

Challenge

intermediate

Recover Stashed Work

Scenario

You are on feature/invoice-notes, partway through an unfinished edit to src/invoice.js. You also created an untracked draft at notes/launch-draft.md.

An urgent request means you need to visit main, but that branch already has the team's version of notes/launch-draft.md at the same path.

Mission

Visit main, then return to feature/invoice-notes with the invoice edit still modified and uncommitted, your launch draft restored as an untracked file, and no work left in the stash.

Objectives

0/5
  1. You have visited main for the urgent request. (Current objective)
  2. You are back on feature/invoice-notes. (Not started)
  3. The unfinished src/invoice.js edit is restored and uncommitted. (Not started)
  4. Your notes/launch-draft.md is restored and remains untracked. (Not started)
  5. Nothing is left in the stash. (Not started)

Your task nowStep 1 of 5

You have visited main for the urgent request.

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.