I review my old Git commit messages π€¦ββοΈ
Before you startβ¦
If you donβt even know Git yet, let alone how to write good commit messages, check out these videos to learn the basics:
I dig deep into my GitHub account and evaluate some of my commit messages. Learn from my mistakes to start writing better commit messages. Your colleagues will love you, and youβll immediately become the life of every party (once parties are a thing people do again). π
The criteria I used to evaluate these come from an excellent article by Chris Beam called How to Write a Git Commit Message.
Here are Chrisβs 7 tips:
- Separate subject from body with a blank line
- Limit the subject line to 50 characters
- Capitalize the subject line
- Do not end the subject line with a period
- Use the imperative mood in the subject line
- Wrap the body at 72 characters
- Use the body to explain what and why vs. how