Challenges · History

Clean Up History

0/5

Challenge

advanced

Clean 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/5
  1. feature/search has a commit Add search. (Current objective)
  2. wip is gone from feature/search. (Not started)
  3. more wip is gone too. (Not started)
  4. The branch has exactly one commit on top of Initial commit. (Not started)
  5. 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.