Gitでコミットテンプレートをセットする
プロジェクトのルートディレクトリに.gitmessage.txt
を配置します。
以下のような内容を記載します。
Commit subject (e.g. Implemented xxx feature ) Description (e.g. xxxx description)
以下のコマンドでコミットテンプレートをセットできます。
$ git config --local commit.template .gitmessage.txt
プロジェクトのルートディレクトリに.gitmessage.txt
を配置します。
以下のような内容を記載します。
Commit subject (e.g. Implemented xxx feature ) Description (e.g. xxxx description)
以下のコマンドでコミットテンプレートをセットできます。
$ git config --local commit.template .gitmessage.txt