-
Notifications
You must be signed in to change notification settings - Fork 70
Commits
B. K. Oxley (binkley) edited this page Aug 14, 2024
·
12 revisions
Have you looked at a PR on a project that long, complex, and touched many files? I'm not a fan of reviewing these, and I suspect you aren't either.
For projects I'm on, I want commits like this:
- Small — I can carry context in my head, and understand the change
- A good commit message — should:
- Follow standard Git recommendations. One of many examples is from Toni Cardina Bardos who summarizes common advice. See the official Git documentation. This is a good discussion with contributors to your project
- Be sensible for others
- Be able to easily check the build pipeline for every commit
- For command-line commits, out-of-the-box
vim
does very well when opened with a simplegit commit
. When in "visual" (full terminal) mode,vim
colorizes for you when you break recommendations on formatting for a commit message.
TODO: Placeholder section
See the code repo for working examples.
This work is dedicated/deeded to the public following laws in jurisdictions
for such purpose.
The principal authors are:
You can always use the "Pages" UI control above this sidebar ☝ to navigate around all pages alphabetically (even pages not in this sidebar), to navigate the outline for each page, or for a search box.
Here is the suggested reading order: