Home

Awesome

vscode-gptcommit

Automated git commit messages using GPT models via gptcommit for VS Code.

vscode-gptcommit

Installation

Note: Do NOT install gptcommit hook via gptcommit install under the root of your git repo.

Supported Versions

Extension VersionVS Code Versiongptcommit Version
< 0.1.01.75+0.1.16
0.1.x1.70+0.1.16
0.2.x1.70+0.3.0
0.3.x1.70+0.5.x

Commands

Run via Ctrl+Shift+P or Cmd+Shift+P:

Extension Settings

Advanced configuration

Note that now all the configuration via the extension is saved in the .git/gptcommit.toml file. If you have to change advanced configuration, you can edit the .git/gptcommit.toml file directly, but make sure you know what you are doing. You can also use the GPTCommit: Open gptcommit configuration file command to open the configuration file.

If you want to use the configuration globally, you can copy the .git/gptcommit.toml file to ~/.config/gptcommit/config.toml, or just the sections of the configuration you want to be used globally.

Also refer to the gptcommit documentation for more information.