Reputation: 5321
Is it possible to define a global prefix for all the commit messages relating to a specific repository ?
Upvotes: 8
Views: 6211
Reputation: 2485
You can use the commit.template setting as discussed here
commit.template
$ git config commit.template /path/to/git-commit-template.txt
This will set the template for the current repository only. You can add the --global flag to apply to all repositories.
--global
Upvotes: 13