ctm-dev-workflow

Writing a commit

Our approach to commit authorship Stephen Ball’s Deliberate Git philsoophy. You can watch a video of his presentation of this philosophy from Steel City Ruby 2013.

“Your code can only say what it does right now. You can’t look at a method and see its history: the alternative approaches that have been considered, the algorithms that have already been outgrown, the simpler code that has been replaced, or the complicated code that’s been refactored.Not capturing this knowledge is a huge loss. In Deliberate Git I’ll share how to use Git to write detailed commits that craft a cohesive story about the code without giving up a good programming flow.”

Stephen Ball @ Steel City Ruby 2013

Commit criteria

Good commits answer the following questions, as applicable.

Commit formatting

Examples

A list of excellent commits within CoA projects has been compiled in commits.md.