Skip to content

kms-hoangdao/FE-Planning-Pocker

Repository files navigation

FE-SummerIntern-2023

This is a repository for the 2023 summer intern project

Project Name : PlanningPokerOnline

Link to Repo Clean Code : Clean Code Javascript

Semantic Release

The template repository which supports semantic release version.

To find out more, please read the following link:

Semantic Commit Messages

Find out more here

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is defined depending on each team. For instance:

fix(core): remove deprecated APIs

feat(ui): add Contact form

The Header (required)

feat: add hat wobble
^--^  ^------------^
|     |
|     +-> Summary in present tense. No uppercase first character and should be a verb.
|
+-------> Type: chore, docs, feat, fix, refactor, style, or test.

More Examples:

  • feat: (a commit of the type feat introduces a new feature to the codebase)
  • fix: (a commit of the type fix patches a bug in your codebase)
  • docs: (changes to the documentation)
  • style: (formatting, missing semi colons, etc; no production code change)
  • refactor: (refactoring production code, eg. renaming a variable)
  • test: (adding missing tests, refactoring tests; no production code change)
  • chore: (updating grunt tasks etc; no production code change)
  • ci: (updating CI/CD manifest)
  • perf: (changes related to performance improvements; no production code change)

The Body (optional)

The body is optional lines that introduce the motivation behind the change or just describing slightly more detailed information.

Let’s take the recent example and add a body:

git commit -m "fix(core): remove deprecated and defunct wtf* apis" \
           -m "These apis have been deprecated in v8, so they should stick around till v10, but since they are defunct we are removing them early so that they don't take up payload size."

Now we attach to the message a couple of sentences that explain the purpose in detail.

Notice the following:

  • We use multiple -m in order to concatenate paragraphs instead of simple lines
  • The header and body are supposed to be separated by a blank line (and that’s distinctly true due to the paragraphs)

The Footer (required)

The footer is a required line that link to the relevant task in software collaboration tool.

Here’s the recent commit message with a footer:

git commit -m "fix(core): remove deprecated apis" \
           -m "These apis have been deprecated in v8, so they should stick around till v10, but since they are defunct we are removing them early so that they don't take up payload size." \
           -m "CU-d0wqf"

In this case, we plainly add a reference to the relevant the Id of Clickup. Find out more here.

References:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published