Feel stuck ?
What if the new test is too complex to pass with just one gamble ?
So it's often a good idea to :
-
Take a break ⏸️
-
Slow down ⏳
-
Rollback the failing commit ⏪
Keep a branch if needed
git branch keep_it_for_maybe_later
Then actually rollback
git reset --hard @~
-
Refactor to "make the change easy" 🧠💡
for each desired change, make the change easy (warning: this may be hard), then make the easy change
-
Try to do smaller steps 👶🦶
-
If needed, try to reapply the failing commit ⏩
git cherry-pick keep_it_for_maybe_later --no-commit && git gamble --red
It may be in conflict depending on the changes made in previous steps ⚠️