Files
30-seconds-of-code/snippets/commit-template.md
2021-04-06 21:35:01 +03:00

427 B

title, tags
title tags
Add a commit message template repository,configuration,advanced

Sets up a commit message template for the current repository.

  • Use 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