git config commit.template <file>
to specify <file>
as the commit message template for the current repository.git config commit.template <file>
git config commit.template "commit-template" # Sets "commit-template" as the commit message template
Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️