Tips and tricks¶
This guide provides useful tips for working with the opentemplate
-based projects.
Committing¶
Important
You can use git commit
normally; pre-commit
will not allow you commit without passing all the checks.
opentemplate
offers the following commit options:
-
pdm run commit
– Runsgit commit
with--signoff --gpg-sign
. -
pdm run commit-type
– Prompts for a commit message and type (feat
,fix
,feat!
,fix!
). -
pdm run commit-guided
– Opens an editor with commit type options.
Important
This feature will likely be moved to a separate tool in the future.