Skip to content

Permit --fixup and --squash commits #8

Closed

Description

@danbernier

commitlint currently fails the messages auto-generated by git for --fixup and --squash commits.

I think commitlint should always permit these commit messages.

Since the point of these commits is to be rebased into other commits, their messages won't be in the commit history for terribly long. And they're already an established part of the git ecosystem.

I'm currently working around this by using -n every time I --fixup, but it's a friction point each time I forget.

Activity

  1. gumbo2k commented on Jul 16, 2024

    @gumbo2k
    Contributor

    Seems like this will have the same solution as #10 .. a whitelist of regex that, when matching the commit's first line, mark this commit message as OK.

  2. rubensa commented on Feb 20, 2026

    @rubensa

    Any updates on this?

  3. gumbo2k commented on Feb 20, 2026

    @gumbo2k
    Contributor

    Not yet, but I'll try to find time this weekend... 🤞

  4. muthukrishnan24 commented on Feb 21, 2026

    @muthukrishnan24
    Contributor

    Hi,
    sorry for the delay
    fixed in v0.11.0

    please check here
    for default ignore patterns, and how you can customise them

  5. added a commit that references this issue on Feb 26, 2026
    3b65632
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions