-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Make codegpt commit
command trigger the git pre-commit hook
#131
Comments
@k0286 CodeGPT already have git prepare-commit-msg hook built-in. Can you describe more about your requirements? I don't really get what you want. |
Thx for your replay. E.g. I don't want to codegpt been triggered when running But If the prepare-commit-msg hook is intstalled, I don't have any option to disable it except uninstall the hook. |
Reference from this: https://stackoverflow.com/a/57590865/910074
|
Of course, if you met the conflicts when doing rebase process. |
I got your point now. So why do you want to trigger the |
Yeah, you are right. I actually don't want to |
@appleboy Do you have any idea? |
Hi,
I hope the
codegpt commit
can trigger the git pre-commit hook, before generate the commit message.I know I can install the prepare-commit-hook to the project. But I don't want to use codegpt for every commit.
So I prefer to use
codegpt commit
when it's needed.感謝!
The text was updated successfully, but these errors were encountered: