-
-
Save matsuu/0af20f5f2daa6d556bf22de9fbfa7952 to your computer and use it in GitHub Desktop.
git config --global commit.template ~/.gitmessage
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
# 件名: 概要、命令形、大文字で始めるがピリオドは使わない | |
# 半角幅50文字以内におさめる。50文字はここまで--># | |
# 件名と本文の間に空白行を入れる | |
# 本文: howではなくwhatとwhyを書くこと。issue IDなども記載する。 | |
# 1行あたり半角幅72文字で折り返す。72文字はここまで-------------------># | |
# 最後に空白行を入れてからこのコミットの共作者を Co-authored-by として列挙する。 | |
# Co-authored-by: Taro Git <taro@example.com> | |
# | |
# 参考: Using Git Commit Message Templates to Write Better Commit Messages | |
# https://gist.github.com/lisawolderiksen/a7b99d94c92c6671181611be1641c733 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment