NOTE: subject to change
-
At Splitscale, we use 50/72 standard for commits. 50 characters max for the title (excluding module prefix), an empty line, and then a full description of the commit, wrapped to 72 columns max. See this link for more information: http://chris.beams.io/posts/git-commit/
-
Make sure commit titles are always in present tense, and are not followed by punctuation.
Prefix each commit's titles with the module name, followed by a colon and a space (unless modifying a file in the base directory). After that, the first word should be capitalized.
So for example, if you are modifying the models module:
models: Add item card
Describe the purpose, such as a goal, or use case, or user story, etc.
<!-- in this case we used a user story -->
Description:
We do not have a card class for items
We need this to display item info in main menu
Describe what this commit can do or should do etc.
Expected behavior:
Should be able to display items in the
home page.
list down some notable tags
Tags:
- ItemCard
- Card
- DisplayableObject
Trailers suitable for tracking and also for git interpret-trailers.
Example of "See:" trailers that mean "see this additional information" and links to relevant web pages, issue trackers, blog posts, etc.:
See: https://example.com/
See: Issue #123 <https://example.com/issue/123>
models: Add item card
Description:
We do not have card for items
We need this to display item info in main menu
Expected behavior:
Should be able to display items in the
home page.
Tags:
- ItemCard
- Card
- DisplayableObject
See: Issue #23
If you still need examples, please view the commit history. 👀