how to write commit messages • Want to learn more about communication in git? • tomdebruijn.com/posts/git-is-about-communication/ Blog post and #NoRuKo talk
branch "main" • Refactor button component • Fix tests • Add button to user profile page • Refactor button component Squash "Fix" commits with the commits that broke things in the first place
branch "main" • Refactor button component • Fix tests • Add button to user profile page • Refactor button component • Rewrite user profile page button Does the refactor commit also include a rewrite of the first commit?
branch "main" • Refactor button component • Fix tests • Refactor button component - PR #1 • Add button to user profile page - PR #2 More readable history. No double implementation of the button Send in the refactor PR first so your team can start reviewing it already