My current article series is based around writing an example application. As an experiment, Iām writing most of the draft in ~250-word commit messages in the example repository.
To get a very rough outline for the first article, I printed the commit message bodies to a markdown file in reverse.
$ git log --reverse --pretty=format:%b > draft.md
The outline was a good starting point to write the story. It felt more efficient, as the work was split between prototyping and explaining code, and writing and editing an article. Plus, the example repository now has well-groomed commits and good explanations of all changes. š