Skip to content

myrzan/idea-commit-prefixer

Repository files navigation

IDEA Commit Prefixer

📌 Overview

IDEA Commit Prefixer is a plugin for Jetbrains IDEs that automatically adds the current branch name to the beginning of commit messages.

🔹 Key Features:
Auto-adds the branch name to commit messages.
Replaces the old branch name if it has changed.
Does not modify the commit if the branch name is already correct.
Adds a button in the commit UI panel for manual insertion.


🛠 Installation

📦 Install via JetBrains Marketplace

1️⃣ Open IntelliJ IDEA / PhpStorm
2️⃣ Go to Settings → Plugins
3️⃣ Search for Kolesa Commit Prefixer
4️⃣ Click Install 5️⃣ Restart the IDE

🏗 Manual Installation (.zip/.jar)

1️⃣ Download the .zip file from JetBrains Marketplace
2️⃣ Open Settings → Plugins → Install from Disk
3️⃣ Select the downloaded .zip and click OK
4️⃣ Restart the IDE


🚀 How to Use?

1️⃣ Write a commit message in the VCS commit window.
2️⃣ Click the button with blue magic stick icon. 3️⃣ The plugin will insert or update the branch name automatically.

🔹 If a branch name already exists in the commit, the plugin will replace it with the correct one.
🔹 If no branch name is found, it will be added to the beginning of the message.


🛠 Configuration

No additional configuration is required. The plugin works out of the box!


📝 License

This plugin is licensed under the Apache 2.0 License. See the LICENSE file for details.


🔗 Links

🚀 Happy coding!

About

Plugin for adding current branch name to commit message as prefix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages