Challenge
advancedClean Up History
Scenario
feature/search works, but its history tells the story of an afternoon: wip, more wip, fix typo, actually works now. Reviewers will read every one of them. Nobody else has the branch yet.
You are on feature/search.
Mission
Replace the four messy commits with a single commit called Add search, keeping the final code exactly as it is.
Objectives
0/5feature/searchhas a commitAdd search. (Current objective)wipis gone fromfeature/search. (Not started)more wipis gone too. (Not started)- The branch has exactly one commit on top of
Initial commit. (Not started) - The working tree is clean. (Not started)
Your task nowStep 1 of 5
feature/search has a commit Add search.
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.
