- Detect branch name created by Jira
- Improvements
Insert a value from the current branch name into the Source Control Git Message box.
- Open the Command Palette
Ctrl+Shift+P(Cmd+Shift+Pon macOS) - Type
Git Prefix Commit Messageand hitreturn - The matching branch pattern is prefixed in the Git Message box
This extension contributes the following settings using JavaScript regular expression syntax:
gitPrefix.pattern: Regular expression pattern to match in the branch name. Default matches entire branch name or branch created by Jira.
gitPrefix.patternIgnoreCase: Ignore case in pattern. Default isfalse.gitPrefix.replacement: Regular expression replacement string to place into commit message. Default is"[$1] ".
Happy Committing!
