Discover and read the best of Twitter Threads about #d342da

Most recents (1)

Writing good Git commit messages matters!

A thread about how to write clean commit messages:

🧵 👇
1️⃣ Make your commit messages meaningful, explaining the reason for the change. The more explicit the message is, the more helpful it will be.

Examples:

❌Don't:
- fixed
- done
- added 2 class

✅Do:
- add missing validation to login form
- fix bug for calculating cart price
2️⃣ Use the imperative mood

Imperative mood means that the commit message should be written as if giving a command or instruction.

Examples:

❌Don't:
- I have implemented ...
- this commit will ...
- more fixes for broken stuff

✅Do:
- add ...
- fix ...
- remove ...
Read 7 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!