Skip to content

[Feature]: generate squash message #518

Description

@azabujuban

Description

On repositories that only allow squashed merges into the main branch, the history can quickly become hard to read—even when using the conventional commits standard. It would be very helpful if opencommit supported generating a single commit message for a squashed commit.

Suggested Solution

This could be implemented as a new CLI parameter that takes a commit range and produces one combined message. Another useful option would be to support interactive rebases, for example by hooking into prepare-commit-msg during squash operations.

Alternatives

Asking LLM to generate a message based on a list of commits.

Additional Context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions