-
Notifications
You must be signed in to change notification settings - Fork 171
Commit message guidelines
Sandeep「 Flame 」 edited this page Aug 1, 2019
·
2 revisions
--<type>: <parentFolderName>- <fileName> :<subject>
Any line of the commit message cannot be longer 100 characters! This allows the message to be easier to read on GitHub as well as in various git tools.
The subject line contains a succinct description of the change.
- added (addition)
- deleted (deletion)
- fixed (bug fix)
- docs (documentation)
- refactored (formatting, missing semicolons, …)
- chored (maintain)
The parent folder name should be the just parent folder of the file you are modifying. For example: If you have modified Hollow Rombus folder your parent folder name will be Patterns.
You must provide the full file name with proper extension
- use imperative, past tense: “changed” not “change” nor “changes”
- don't capitalize the first letter
- no dot (.) at the end
--added: Chapter07- QuickSort.java
--refactored: Chapter07- QuickSort.java : recursion logic changed
--docs: Array- ReadMe.md : added a new problem
--fixed: Chapter07- QuickSort.java : fixed issue #122
--deleted: Chapter07- QuickSort.java : no longer required