test && commit || revert. What?!
summary
Describes adopting the test && commit || revert workflow (CCR) used after a Kent Beck code camp, implemented as a script that runs Elm compilation and elm-test, then does git add + git commit or git reset --hard on failure. Claims it forces much smaller steps, produces lots of tiny commits (easy to squash on a feature branch), improves refactoring confidence and test-writing, and measurably speeds development while keeping the repo always in a valid state.
AI-written summary · about
chapters (11)
- 0:00Start
- 0:35revert
- 2:45elm-test
- 3:27git reset --hard
- 4:26Smaller steps
- 5:00Smaller problems
- 5:23What? Tests?
- 6:02Fast compilation and tests
- 6:24Refactoring
- 6:38What? What about the commit log?
- 7:05Squash








