feat(git): add an Refs placeholder to commit

...message body

Add an `# Refs:` placeholder to the Git commit message body that can
be replaced manually or using a `prepare-commit-msg` hook.

I have a templated Git hook that will do this within project directories
using an `.issue-id` file.
This commit is contained in:
Oliver Davies 2023-08-26 22:22:31 +01:00
parent a54996b5f0
commit a3ab645a2b

View file

@ -106,9 +106,16 @@ in
# line and describe the change: # line and describe the change:
# #
# BREAKING CHANGE: # BREAKING CHANGE:
#
#
# Add any issue IDs or commit SHAs that this commit references:
#
# Refs:
''; '';
home.file.".gitignore-global".text = '' home.file.".gitignore-global".text = ''
.issue-id
.phpactor.json .phpactor.json
''; '';