-
Notifications
You must be signed in to change notification settings - Fork 16
Commit Style Guide
Abhilash G edited this page Dec 5, 2018
·
1 revision
Meaningful commit messages are crucially important as they provide information about what a commit does.
Please write commit messages in the format mentioned below.
Divide the commit message into two parts - type
and subject
as shown below.
type: subject
The type can be one of these types:
- feat: a new feature
- fix: a bug fix
- docs: changes to documentation
- style: formatting, missing semi-colons, etc; no code change
- refactor: refactoring production code
- test: adding tests, refactoring test; no production code change
- chore: updating build tasks, package manager configs, etc; no production code change
The subject describes the commit in a sentence.