Challenge
advancedSplit a Mixed Commit
Scenario
The latest commit on feature/analytics mixes a new analytics service with its documentation. Reviewers want the implementation and documentation separated so each change can be reviewed and reverted independently. Nobody else has this branch.
Mission
Replace the mixed commit with Add analytics service, changing only the service file, followed by Document analytics service, changing only the guide. Preserve both files and finish clean.
Objectives
0/7Add analytics servicechanges onlysrc/analytics.js. (Current objective)Document analytics servicechanges onlydocs/analytics.md. (Not started)- The documentation commit follows the implementation commit. (Not started)
- The branch contains the initial commit and the two focused commits. (Not started)
- The analytics service contents are preserved. (Not started)
- The analytics guide contents are preserved. (Not started)
- The working tree is clean. (Not started)
Your task nowStep 1 of 7
Add analytics service changes only src/analytics.js.
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.
