Challenges · Branching

Uncommitted Changes

0/4

Challenge

intermediate

Uncommitted Changes

Scenario

You are on main, in the middle of reworking the price formatting in src/price.js. It is not ready to commit. Then: production is down, and the fix on hotfix/rounding has to be merged into release right now. release has its own version of src/price.js.

Mission

Merge hotfix/rounding into release, then get back to main with your unfinished price work exactly as it was, not committed, and nothing left stashed.

Objectives

0/4
  1. release contains the rounding fix. (Current objective)
  2. You are back on main. (Not started)
  3. Your price rework is back in src/price.js, uncommitted. (Not started)
  4. Nothing is left in the stash. (Not started)

Your task nowStep 1 of 4

release contains the rounding fix.

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.