0/5

Challenge06

beginner

Branching Challenge

Scenario

main is what your users run, so nothing unfinished may land on it. You have just written search.js for a new search feature.

Get it committed on a branch called feature/search, keep main where it is, and finish back on main with a clean working tree. How you get there is up to you.

Mission

Ship a feature on its own branch while main stays exactly as it is.

Objectives

0/5
  1. A branch named feature/search exists. (Current objective)
  2. feature/search has a commit that is not on main. (Not started)
  3. main still points at Add homepage. (Not started)
  4. You are back on main. (Not started)
  5. The working tree is clean. (Not started)

Your task nowStep 1 of 5

A branch named feature/search exists.

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.