git-phlow
git-phlow copied to clipboard
Feature: Prefix commit messages with branch name
Feature request
The ability to configure a prefix for the commit message, such that git phlow commit -m "some commit message"
will add the commit message "My-prefix: some commit message".
I imagine there could be 3 different configurations:
1. Prefix with branch name
With this configuration, my branch name automatically gets prefixed to the commit message.
Example:
git phlow commit -m "some message"
-> "feature/login: some message".
2. Prefix with issue name
With this configuration, the issue name from the current "workon" gets prefixed.
Example:
git phlow commit -m "some message"
-> "create-login-screen: some message".
3. Prefix with custom message
With this configuration, a specified custom message gets prefixed to the commit message.
Example:
git phlow commit -m "some message"
-> "custom-prefix: some message".
Hello @Silind
Thanks for the feedback, it is much appreciated. Let us clarify the feature and consider some options.