Level "Grabbing Just 1 Commit" allows 'solution' different from goal

Author: DslyexiacCreated Aug 15, 2026Updated Aug 15, 2026

The shown goal has both branches bugFix and main on commit C4', with commit C4 becoming orphaned. My 'solution' has only main on commit C4', with bugFix remaining on C4.

Commands to achieve this are simply git checkout main; git cherry-pick C4

Source: pcottle/learnGitBranching