gptcommit icon indicating copy to clipboard operation
gptcommit copied to clipboard

A tool to help you commit your changes to a git repository with ChatGPT API

gptcommit

gptcommit is a tool to help you commit your changes to a git repository with ChatGPT API.

demo

Installation

$ npm i -g gptcommit

or, with Homebrew

$ brew tap mgilangjanuar/gptcommit
$ brew install gptcommit

Usage

$ gptcommit set-token <your OpenAI API token>
$ gptcommit [--files /path/to/file1 /path/to/file2 ...] [--context 'it closes #123 #122']