Auto generate commit messages using ChatGPT
To install CommitAssist, simply run the following command:
yarn global add commit-assist
To generate commit messages using CommitAssist, follow these simple steps:
Stage the files you want to commit. Then run:
git-ca
The first time you run the tool, it will prompt you for your OpenAI API key. If you don't have one, you can get yours by visiting the OpenAI API Keys page.
If you need to reset your API Key for any reason, simply run the following command:
git-ca reset
Please note that using the OpenAI API is not free. However, OpenAI offers each new user $18 worth of credit to get started.