Skip to content

chore: let the commit hook accept amend! commits - #124

Merged
arthware-dev merged 1 commit into
mainfrom
chore/lint-amend
Sep 23, 2026
Merged

arthware-dev merged 1 commit into
mainfrom
chore/lint-amend

Conversation

@arthware-dev

Copy link
Copy Markdown
Contributor

Summary

  • git commit --fixup=amend:<sha> and --fixup=reword:<sha> write an amend! subject, which the commit-msg hook rejected. It is now exempt like fixup! and squash!, since an autosquash rebase folds it away before anything lands.

`git commit --fixup=amend:<sha>` and `--fixup=reword:<sha>` write an
`amend!` subject, which the commit-msg hook rejected. commit-lint
already exempted `fixup!` and `squash!`; `amend!` is the third form git
writes for an autosquash rebase and is exempt the same way.
@arthware-dev
arthware-dev merged commit d3a8baa into main Sep 23, 2026
1 check passed
@arthware-dev
arthware-dev deleted the chore/lint-amend branch September 23, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant