Thông tin chung

Cách comment commit chuẩn trên git

Ví dụ với dự án RICHKA:

Please follow the tiny rule in the article above.


Type : Must be one of the following:

feat: A new feature
fix: A bug fix
docs: Documentation only changes
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
refactor: A code change that neither fixes a bug nor adds a feature
perf: A code change that improves performance
test: Adding missing or correcting existing tests
chore: Changes to the build process or auxiliary tools and libraries such as documentation generation

For examples, our commit logs would be below.

fix(gui): Fixed file uploading. Refs #RICHIKA-XXX
fix(video): Make ffmpeg video generation more stable. Refs #RICHIKA-XXX
test(django): Added new tests for admin contract page. Refs #RICHIKA-XXX
feat(gui) : Added Stock Photo function. Refs #RICHIKA-XXX

Được gắn thẻ