mirror of
https://github.com/erg-lang/erg.git
synced 2025-07-07 13:15:21 +00:00
docs: update .gitmessage
This commit is contained in:
parent
c00e377891
commit
1e2d1d3776
3 changed files with 67 additions and 58 deletions
39
.gitmessage
39
.gitmessage
|
@ -1,13 +1,11 @@
|
|||
# type('(' scope ')')? '!'? ':' description
|
||||
# e.g.
|
||||
# No more than 50 chars. #### 50 chars is here: #
|
||||
# type(scope): description (#issue)
|
||||
|
||||
# body: optional
|
||||
# body
|
||||
# Wrap at 72 chars. ################################## which is here: #
|
||||
#
|
||||
# footer: optional
|
||||
# footer
|
||||
# Wrap at 72 chars. ################################## which is here: #
|
||||
#
|
||||
#
|
||||
########################################################################
|
||||
#
|
||||
# ## Help ##
|
||||
|
@ -15,33 +13,38 @@
|
|||
# ## type: must ##
|
||||
# feat: new feature
|
||||
# fix: bug fix or issue resolution
|
||||
# docs: change documentations
|
||||
# style: change in code style
|
||||
# docs: documentation changes
|
||||
# style: code style changes
|
||||
# refactor: refactoring
|
||||
# pref: performance improvement
|
||||
# test: adding or changing test
|
||||
# perf: performance improvement
|
||||
# test: adding or changing tests
|
||||
# build: build-related/version/dependency
|
||||
# ci: CI-related changes
|
||||
# chore: internal/minor changes
|
||||
# revert: revert commit
|
||||
# fix, refactor, style and chore are lower priority
|
||||
# * fix, refactor, style and chore are lower priority
|
||||
#
|
||||
# ## scope: optional ##
|
||||
# indicates the scope
|
||||
# Indicates the scope
|
||||
# e.g.
|
||||
# - parser
|
||||
# - compiler
|
||||
# - els
|
||||
# - REPL
|
||||
# - lints
|
||||
# - linter
|
||||
#
|
||||
# ## !: optional ##
|
||||
# destructive change
|
||||
# Destructive change
|
||||
#
|
||||
# ## description: must ##
|
||||
# summary of the commit
|
||||
# Summary of the commit
|
||||
# No more than 50 chars
|
||||
#
|
||||
# ## issue: optional ##
|
||||
# Related issue/PR number
|
||||
#
|
||||
# ## body: optional ##
|
||||
# indicates the details of the commit
|
||||
# Indicates the details of the commit
|
||||
#
|
||||
# ## footer: optical ##
|
||||
# represents information related to the commit
|
||||
# ## footer: optional ##
|
||||
# Represents information related to the commit
|
||||
|
|
|
@ -49,7 +49,7 @@ The meaning of each part is as follows.
|
|||
* `compiler`
|
||||
* `els`
|
||||
* `REPL`
|
||||
* `lint`
|
||||
* `linter`
|
||||
|
||||
* The `!` mark indicates that the commit has destructive changes. If this mark is set, the reason for the destructive change must be written. Destructive changes include language specification changes, compiler API changes, and so on.
|
||||
|
||||
|
@ -116,16 +116,14 @@ git config commit.template .gitmessage
|
|||
This will use this commit message template only in the Erg repository
|
||||
|
||||
```txt
|
||||
# type('(' scope ')')? '!'? ':' description
|
||||
# e.g.
|
||||
# No more than 50 chars. #### 50 chars is here: #
|
||||
# type(scope): description (#issue)
|
||||
|
||||
# body: optional
|
||||
# body
|
||||
# Wrap at 72 chars. ################################## which is here: #
|
||||
#
|
||||
# footer: optional
|
||||
# footer
|
||||
# Wrap at 72 chars. ################################## which is here: #
|
||||
#
|
||||
#
|
||||
########################################################################
|
||||
#
|
||||
# ## Help ##
|
||||
|
@ -133,34 +131,39 @@ This will use this commit message template only in the Erg repository
|
|||
# ## type: must ##
|
||||
# feat: new feature
|
||||
# fix: bug fix or issue resolution
|
||||
# docs: change documentations
|
||||
# style: change in code style
|
||||
# docs: documentation changes
|
||||
# style: code style changes
|
||||
# refactor: refactoring
|
||||
# pref: performance improvement
|
||||
# test: adding or changing test
|
||||
# perf: performance improvement
|
||||
# test: adding or changing tests
|
||||
# build: build-related/version/dependency
|
||||
# ci: CI-related changes
|
||||
# chore: internal/minor changes
|
||||
# revert: revert commit
|
||||
# fix, refactor, style and chore are lower priority
|
||||
# * fix, refactor, style and chore are lower priority
|
||||
#
|
||||
# ## scope: optional ##
|
||||
# indicates the scope
|
||||
# Indicates the scope
|
||||
# e.g.
|
||||
# - parser
|
||||
# - compiler
|
||||
# - els
|
||||
# - REPL
|
||||
# - lints
|
||||
# - linter
|
||||
#
|
||||
# ## !: optional ##
|
||||
# destructive change
|
||||
# Destructive change
|
||||
#
|
||||
# ## description: must ##
|
||||
# summary of the commit
|
||||
# Summary of the commit
|
||||
# No more than 50 chars
|
||||
#
|
||||
# ## issue: optional ##
|
||||
# Related issue/PR number
|
||||
#
|
||||
# ## body: optional ##
|
||||
# indicates the details of the commit
|
||||
# Indicates the details of the commit
|
||||
#
|
||||
# ## footer: optical ##
|
||||
# represents information related to the commit
|
||||
```
|
||||
# ## footer: optional ##
|
||||
# Represents information related to the commit
|
||||
```
|
||||
|
|
|
@ -53,7 +53,7 @@ commit ::= type ('(' scope ')')? '!'? ':' description ('(' '#' issue ')')? body?
|
|||
* `compiler`
|
||||
* `els`
|
||||
* `REPL`
|
||||
* `lint`
|
||||
* `linter`
|
||||
|
||||
* `!`マークはコミットが破壊的な変更であることを示します。このマークがついている場合、破壊的変更の理由を書く必要があります。破壊的変更は、言語の仕様変更やコンパイラAPIの変更などが該当します。
|
||||
|
||||
|
@ -117,16 +117,14 @@ git config commit.template .gitmessage
|
|||
これによりErgのリポジトリ内でのみこのコミットメッセージのテンプレートが利用されます
|
||||
|
||||
```txt
|
||||
# type('(' scope ')')? '!'? ':' description
|
||||
# e.g.
|
||||
# No more than 50 chars. #### 50 chars is here: #
|
||||
# type(scope): description (#issue)
|
||||
|
||||
# body: optional
|
||||
# body
|
||||
# Wrap at 72 chars. ################################## which is here: #
|
||||
#
|
||||
# footer: optional
|
||||
# footer
|
||||
# Wrap at 72 chars. ################################## which is here: #
|
||||
#
|
||||
#
|
||||
########################################################################
|
||||
#
|
||||
# ## Help ##
|
||||
|
@ -134,34 +132,39 @@ git config commit.template .gitmessage
|
|||
# ## type: must ##
|
||||
# feat: new feature
|
||||
# fix: bug fix or issue resolution
|
||||
# docs: change documentations
|
||||
# style: change in code style
|
||||
# docs: documentation changes
|
||||
# style: code style changes
|
||||
# refactor: refactoring
|
||||
# pref: performance improvement
|
||||
# test: adding or changing test
|
||||
# perf: performance improvement
|
||||
# test: adding or changing tests
|
||||
# build: build-related/version/dependency
|
||||
# ci: CI-related changes
|
||||
# chore: internal/minor changes
|
||||
# revert: revert commit
|
||||
# fix, refactor, style and chore are lower priority
|
||||
# * fix, refactor, style and chore are lower priority
|
||||
#
|
||||
# ## scope: optional ##
|
||||
# indicates the scope
|
||||
# Indicates the scope
|
||||
# e.g.
|
||||
# - parser
|
||||
# - compiler
|
||||
# - els
|
||||
# - REPL
|
||||
# - lints
|
||||
# - linter
|
||||
#
|
||||
# ## !: optional ##
|
||||
# destructive change
|
||||
# Destructive change
|
||||
#
|
||||
# ## description: must ##
|
||||
# summary of the commit
|
||||
# Summary of the commit
|
||||
# No more than 50 chars
|
||||
#
|
||||
# ## issue: optional ##
|
||||
# Related issue/PR number
|
||||
#
|
||||
# ## body: optional ##
|
||||
# indicates the details of the commit
|
||||
# Indicates the details of the commit
|
||||
#
|
||||
# ## footer: optical ##
|
||||
# represents information related to the commit
|
||||
```
|
||||
# ## footer: optional ##
|
||||
# Represents information related to the commit
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue