-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitmessage
54 lines (50 loc) · 2.08 KB
/
gitmessage
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# <type> (If applied, this commit will...) <subject> (Max 50 char)
# Explain why this change is being made
# Provide links or keys to any relevant tickets, articles or other resources
# Example: Github issue #23
# from https://gist.github.com/adeekshith/cd4c95a064977cdc6c50#file-git-commit-template-txt
#
# ==== The Seven Rules ====
# 1. Separate subject from body with a blank line
# 2. Limit the subject line to 50 characters
# 3. Capitalize the subject line
# 4. Do not end the subject line with a period
# 5. Use the imperative mood in the subject line
# 6. Wrap the body at 72 characters
# 7. Use the body to explain what and why vs. how
#
# How to Write a Git Commit Message http://chris.beams.io/posts/git-commit/
#
# Answer the following questions:
#
# 1. Why is this change necessary?
# 2. How does it address the issue?
# 3. What side effects does this change have?
#
# cf. https://robots.thoughtbot.com/5-useful-tips-for-a-better-commit-message
#
# ==== Emojis, prefixes ====
# :bug: fix: バグ修正
# :face_with_head_bandage: fix: バグや問題の応急処置
# :sparkles: feat: 部分的な機能追加・変更
# :tada: feat: 盛大に祝うべき大きな機能追加・変更
# :art: feat: 見た目に関わる修正
# :lock: feat: セキュリティ関連の改善
# :green_heart: test: テストやCIの修正・改善
# :rocket: perf: パフォーマンス改善
# :+1: refactor: 機能改善
# :recycle: refactor: リファクタリング
# :shower: refactor: 不要な機能・使われなくなった機能の削除
# :speaker: refactor: ログの追加
# :mute: refactor: ログの削除
# :shirt: style: Lintエラーの修正やコードスタイルの修正
# :up: chore: バージョンの更新
# :package: chore: 依存パッケージに関する修正
# :robot: chore: 自動化
# :wrench: chore: 設定ファイル
# :pencil2: docs: ドキュメントの追加
# :construction: wip: WIP
# :face_with_rolling_eyes: wtf: なんじゃこりゃ
#
# cf. http://memo.goodpatch.co/2016/07/beautiful-commits-with-emojis/
# cf. https://github.com/angular/angular.js/blob/v1.6.9/DEVELOPERS.md#commits