Skip to main content
The 2024 Developer Survey results are live! See the results

How to improve the quality of your GitHub commit?

Created
Active
Viewed 54 times
1 replies
3

1. Commit often and focus on the single topic for commit.
2. Do the commits in branches for particular component or task.
3. Commit in informative manner such as if you are adding something new to your code than use ADD – ‘commit subject’, for update use UPDATE – ‘commit subject’, for delete use DELETE – ‘commit subject’, for fixing something use FIX – ‘commit subject’.
4. Use proper and brief description for each commit.

1 reply

Sorted by:
78469961
0

Instead of going through the considerable effort of coming up with a system for good commit messages (good means: easy for humans to scan and grok AND also easy for machines to parse), consider adhering to something well established like conventional commits.