# This is [git-consistent](https://github.com/isuke/git-consistent) sample.
## example commmits
```
feat(front): implement foo function
```
```
feat(admin): implement login page
This page is not styling.
```
```
docs: write README.md
```
<type><scope>: <subject>
<body>
type:
type: enum
required: true
description: 'commit type'
values:
-
name: feat
description: 'when implementing function'
-
name: fix
description: 'when fixing a bug'
-
name: refactor
description: 'when refactoring'
-
name: ui
description: 'when improving UI'
-
name: docs
description: 'when writing docs'
-
name: test
description: 'when adding tests'
-
name: chore
description: "when change other that don't modify code or test files"
-
name: remove
description: 'when removing function'
-
name: perf
description: 'when improving performance'
-
name: ci
description: 'when fixing the CI build'
-
name: sec
description: 'when dealing with security'
-
name: up
description: 'when upgrading dependencies'
-
name: down
description: 'when downgrading dependencies'
-
name: tada
description: 'when celebrating'
-
name: revert
description: 'when reverts a previous commit'
scope:
type: enum
required: false
description: 'The scope could be specifying place of the commit change.'
prefix: '('
suffix: ')'
values:
-
name: "front"
description: 'front page'
-
name: "admin"
description: 'admin page'
subject:
type: string
required: true
description: 'The subject contains succinct description of the change'
body:
type: text
required: false
description: 'The body contains details of the change'