Skip to content

Conversation

@andriidrz
Copy link

@andriidrz andriidrz commented Nov 15, 2025

Fills commit message with contents of file configured by commit.template Git setting

PR Description

A lot of organisations have their own commit styles. Sometimes they have dedicated commit file templates with task id/commit type etc.
Usually these files are stored in git configuration (please see https://git-scm.com/docs/git-config#Documentation/git-config.txt-committemplate)

Please check if the PR fulfills these requirements

  • Cheatsheets are up-to-date (run go generate ./...)
  • Code has been formatted (see here)
  • Tests have been added/updated (see here for the integration test guide)
  • Text is internationalised (see here)
  • If a new UserConfig entry was added, make sure it can be hot-reloaded (see here)
  • Docs have been updated if necessary
  • You've read through your own file changes for silly mistakes etc

andriidrz and others added 2 commits November 15, 2025 13:38
Fills commit message with contents of file configured by
commit.template Git setting
@andriidrz
Copy link
Author

Please let me know if we really need separate test for this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant