👨‍💻Coder Blast🌋: post #78 — TG.ME

5 things to keep in mind to write better Git/Github commit messages.

1. Start with a verb (Add, Fix, Update) to indicate what the commit does.

Add 2FA for user authentication

2. Commit message should always be in the present tense to describe what the code does when applied.

Added, Updated, Fixed, Refactored

Add, Update, Fix, Refactor

3. Your commit message should describe what the commit does and why it is necessary.

Update styles

Update styles for the homepage

4. If applicable, refer to tickets or issues in your commit message.

Fixes #14: Resolve issue with form submission

5. Avoid using complicated technical terms in your commit message to make it understandable across the team.

Optimize CRUD operations with RESTful APIs using GraphQL

Improve data handling for better API performance

#git #github #commit

Join
@coderblast for more ☑️

Share with your buddies 🤝
👍1
October 26, 2023 1.2K 9