Last active
May 21, 2021 17:17
-
-
Save jackyu/bd3db5c6c50c3f68c377549a25024f65 to your computer and use it in GitHub Desktop.
[GIt] .gitmessage sample
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
# commit log 請遵造以下格式,並注意冒號後面有一個空格 | |
# | |
# <type>: <subject> {必要} | |
# | |
# <body> {非必要} | |
# | |
# <footer> {非必要} | |
# | |
# 範例 | |
# feat: implementation login api function | |
# | |
# finished login module and integration with server login api | |
# | |
# Closes OR-xxxx | |
# | |
# <Type> | |
# 請遵守下列標籤 | |
# feat: 新功能 | |
# fix: Bug修復 | |
# docs: 文檔改變 | |
# style: 代碼格式改變 | |
# refactor: 功能重構 | |
# perf: 性能優化 | |
# test: 增加測試代碼 | |
# build: 改變build工具 | |
# ci: 與ci相關的設定 | |
# add: 增加一些跟功能無關的檔案 | |
# 3rd: 增加第三方 | |
# chore: 維護 | |
# | |
# <Subject> | |
# 用來簡要描述影響本次變動,概述即可 | |
# | |
# <Body> | |
# 具體的修改訊息,越詳細越好 | |
# | |
# <Footer> | |
# 如果是要關閉特定 Issue 或 Bug. 可以使用 Closes PROJECT-1 or Resolves PROJECT-1 or Fixes PROJECT-1 | |
# 具體清參考 https://docs.gitlab.com/ee/user/project/integrations/jira.html | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment