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

Auto-run Commitizen on git commit #330

Closed
ShaneKosieradzki opened this issue Jan 3, 2021 · 3 comments
Closed

Auto-run Commitizen on git commit #330

ShaneKosieradzki opened this issue Jan 3, 2021 · 3 comments
Labels
type: feature A new enhacement proposal

Comments

@ShaneKosieradzki
Copy link

Description

To help with the adoption of Commitizen by project contributors who are unfamiliar with Commitizen, it would be nice if cz commit could run automagically whenever a user tries to git commit. That is, cz commit should transparently replace git commit.

Possible Solution

Your project is already using pre-commit for cz check (🎉 yeah! 🎉). It would be nice if there were a pre-commit hook that could run on prepare-commit-msg.

Additional context

pre-commit project

@ShaneKosieradzki ShaneKosieradzki added the type: feature A new enhacement proposal label Jan 3, 2021
@ShaneKosieradzki
Copy link
Author

Also, you should add a pre-commit badge to this repo.

@Lee-W
Copy link
Member

Lee-W commented Jan 4, 2021

#250 works on something relates to it but I failed to run it on my local machine.

@Lee-W
Copy link
Member

Lee-W commented Nov 26, 2021

As this is a similar issue to #249, let's close this one and discuss there

@Lee-W Lee-W closed this as completed Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature A new enhacement proposal
Projects
None yet
Development

No branches or pull requests

2 participants