appleboy / CodeGPT

A CLI written in Go language that writes git commit messages or do a code review brief for you using ChatGPT AI (gpt-4o, gpt-4-turbo, gpt-3.5-turbo model) and automatically installs a git prepare-commit-msg hook.
MIT License
1.22k stars 109 forks source link

feat(git): don't use codegpt if user supplies message with `git commit -m` #151

Closed bresilla closed 5 months ago

bresilla commented 5 months ago

This is a very simple feature that, if you codegpt hook install and later on, you want to use git commit -m <custom_message> would use that specified message. I think this is useful especially for automated deployments and releases where the is really important to not change.