Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: remove commit hook for git-cz #136

Merged
merged 1 commit into from
Oct 28, 2024
Merged

build: remove commit hook for git-cz #136

merged 1 commit into from
Oct 28, 2024

Conversation

verytactical
Copy link
Collaborator

@verytactical verytactical commented Oct 28, 2024

"Prepare commit message" hook runs not only on commit, but also on a variety of other git tasks such as rebase and merge, sometimes in an automated way from IDE (Jetbrains IDEs do that). git-cz utility wasn't built with this in mind, and leads to bad developer experience. We can use already existing npm run commit script for this.

Also "prepare" npm hook runs when a package is packaged (npm pack), and husky is intended to be run on install.

Closes #139

"Prepare commit message" hook runs not only on commit, but also on a variety of other git tasks such
as rebase and merge, sometimes in an automated way from IDE (Jetbrains IDEs do that). git-cz utility
wasn't built with this in mind, and leads to bad developer experience. We can use already existing
`npm run commit` script for this. Also `"prepare"` npm hook runs when a package is packaged (`npm
pack`), and `husky` is intended to be run on install.
@verytactical verytactical changed the base branch from main to develop October 28, 2024 13:05
@verytactical verytactical merged commit 9bf73c2 into develop Oct 28, 2024
2 checks passed
@verytactical verytactical added the meta Build and CI label Oct 28, 2024
verytactical added a commit that referenced this pull request Oct 29, 2024
"Prepare commit message" hook runs not only on commit, but also on a variety of other git tasks such
as rebase and merge, sometimes in an automated way from IDE (Jetbrains IDEs do that). git-cz utility
wasn't built with this in mind, and leads to bad developer experience. We can use already existing
`npm run commit` script for this. Also `"prepare"` npm hook runs when a package is packaged (`npm
pack`), and `husky` is intended to be run on install.
verytactical added a commit that referenced this pull request Oct 29, 2024
"Prepare commit message" hook runs not only on commit, but also on a variety of other git tasks such
as rebase and merge, sometimes in an automated way from IDE (Jetbrains IDEs do that). git-cz utility
wasn't built with this in mind, and leads to bad developer experience. We can use already existing
`npm run commit` script for this. Also `"prepare"` npm hook runs when a package is packaged (`npm
pack`), and `husky` is intended to be run on install.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta Build and CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rebase is broken in Jetbrains IDEs
2 participants