This extension generates a commit message based on the branch name by allowing you to provide a regex and a template to fill with the matched value.
Custom Regex Patterns: Define your own regular expressions to extract specific information from branch names.
Flexible Templates: Create commit message templates with placeholders that correspond to the matched values from the branch name.
Saves Time: Eliminate the need to manually craft commit messages, ensuring consistency and accuracy in your version control history.
Improved Workflow: Enhance your development workflow by easily documenting the purpose or context of each commit.
This extension contributes the following settings:
git-comment-template.regex: Provide a regex to match against the branch name for use within the template.
git-comment-template.template: String where
%s will be replaced with first value from regex.
[AB#%s] will resolve to