gptcommit is a tool to help you commit your changes to a git repository with ChatGPT API.
$ npm i -g gptcommitor, with Homebrew
$ brew tap mgilangjanuar/gptcommit
$ brew install gptcommit$ gptcommit set-token <your OpenAI API token>$ gptcommit [--files /path/to/file1 /path/to/file2 ...] [--context 'it closes #123 #122']