Premature completion of the task
Closed this issue · 2 comments
tyurnev commented
Hi!
I found that on lesson "Juggling Commits #2" (level 4, lesson 3) if you type git checkout main
and git cherry-pick C2 C3
then the task will be done, but we doesn't have the second apostrophe on C2 commit, as it's displayed in the solution:
pcottle commented
Yeah this was done intentionally to allow a wider variety of solutions, but I just changed the assert to enforce that C2 has more amends than C3. this will make the above no longer solve the level, but prevent some other valid solutions as well (in terms of what this level is trying to teach you)