Skip to content

Commit fbf882a

Browse files
committed
Add 'Have a Coherent Log' rule to the rule of better commit messages
1 parent 95519de commit fbf882a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,3 +192,12 @@ Sometimes commit messages to contain references to variables, functions, methods
192192
* Wrap lines at 72 characters. (Always there exist exceptions)
193193

194194
* Don't use urls in the messages.
195+
196+
### 10. Have a Coherent Log!
197+
198+
If you have a tour in the log of lots of the famous repositories, you can see a lot of differences between commit messages. For example, some of them have prefixes, and some don't. Some of them include emojis, some of them no. Some start with a capitalized letter, some of them no, etc. It usually happens because teams and persons don't follow typical rules. Always have a complete and clear guideline for yourself and your team. By doing it, you can prevent having inconsistent commit messages.
199+
200+
You can use some external tools and linters for double-checking the commits. Linters and these external tools, ensure that no commit message will conflict with the rules you applied. They force you and your team members to follow the rules.
201+
202+
203+
**If this repository helped you, don't forgive getting a star ;)**

0 commit comments

Comments
 (0)