Challenges · Advanced

Repair Reset Branches

0/4

Challenge

advanced

Repair Reset Branches

Scenario

Two teams have independent work: product filters on feature/catalog and a checkout summary on feature/checkout. A mistaken branch reset moved feature/catalog back before its completed filters commit. feature/checkout still points at its own finished work.

You are on the damaged feature/catalog branch.

Mission

Restore each branch to its own completed commit without moving the other branch, then finish on feature/catalog with a clean working tree and both pieces of work reachable.

Objectives

0/4
  1. feature/catalog points at Add product filters again. (Current objective)
  2. feature/checkout still points at Add checkout summary. (Not started)
  3. You finish on feature/catalog. (Not started)
  4. The working tree is clean. (Not started)

Your task nowStep 1 of 4

feature/catalog points at Add product filters 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.