This plugin extract a typical JIRA task id (ABCD-1234
) from the current git branch, and allows using a default prefix
if nothing is found in the branch name.
I'm using this to automate changelog creation and filtering based on the prefix associated with each project/app, even when commits were not associated with a particular Jira task.
- Automatically change the commit prefix if switching branches
- If intellij is suggesting a (previous) commit message, only the prefix will be updated
- Set a default prefix per project (applied when no task id is found in branch name)
- Wrap the prefix as you like
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "Mono Repo Commit Prefix" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the existing Idea-commit-prefix plugin.