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.
How to improve the quality of your GitHub commit?
1 reply
Oldest first — sorts top-level replies by their creation dates, with the oldest at the top.
Newest first — sorts top-level replies by their creation dates, with the newest at the top.
Latest activity — sorts top-level replies with recent threaded replies or edits at the top.
Highest score — sorts top-level replies by their total votes (highest first).
Your sorting method preferences will be saved.