Skip to content

Feature: Prefix commit messages with branch name #318

Description

@SimonHoiberg

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions