Gitでコミットテンプレートをセットする

プロジェクトのルートディレクトリに.gitmessage.txtを配置します。 以下のような内容を記載します。

Commit subject (e.g. Implemented xxx feature )

Description (e.g. xxxx description)

以下のコマンドでコミットテンプレートをセットできます。

$ git config --local commit.template .gitmessage.txt