Files
30-seconds-of-code/git/s/commit-template.md
Angelos Chalaris 5c913d20bd Reorganize snippets
2023-05-03 21:19:02 +03:00

541 B

title, type, language, tags, author, cover, dateModified
title type language tags author cover dateModified
Add a commit message template snippet git
repository
configuration
chalarangelo river-house-lights 2021-04-13T21:10:59+03:00

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