Skip to content

Merging from other branch clobbers commitizen comment #65

@tquid

Description

@tquid

Hi, when devs at my outfit merge a branch into the working branch, they get the commitizen prompts as expected, but they end up with Merge branch <such-and-so> into <working branch> as the commit message anyway, obviating effort put into satisfying the interactive commit.

Is there some configuration I am doing incorrectly? I'm using Husky, if it matters. Here is the Husky config for prepare-commit-msg:

#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

exec < /dev/tty && npx cz --hook || true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions