forked from gnes-ai/gnes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add commit rule to contribute guideline
- Loading branch information
hanhxiao
committed
Jul 11, 2019
1 parent
b5a2a30
commit 4700c87
Showing
2 changed files
with
38 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Contributing to GNES | ||
|
||
## Commit Message and Pull Request Naming | ||
|
||
To help everyone with understanding the commit history of GNES, we employ [`commitlint`](https://commitlint.js.org/#/) in the CI pipeline to enforce the commit styles. Specifically, our convention is: | ||
|
||
```text | ||
type(scope?): subject | ||
``` | ||
|
||
where `type` is one of the following: | ||
|
||
- build | ||
- ci | ||
- chore | ||
- docs | ||
- feat | ||
- fix | ||
- perf | ||
- refactor | ||
- revert | ||
- style | ||
- test | ||
|
||
`scope` is optional, represents the module your commit working on. | ||
|
||
`subject` explains the commit. | ||
|
||
As an example, a commit that implements a new encoder should be phrased as: | ||
```text | ||
feat(encoder): add new inceptionV3 as image encoder | ||
``` |