Challenge
advancedRepair 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/4feature/catalogpoints atAdd product filtersagain. (Current objective)feature/checkoutstill points atAdd checkout summary. (Not started)- You finish on
feature/catalog. (Not started) - 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
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.
