1- < img src = " lib/logo.svg " width = " 100 " >
1+ # Commit Generator
22
3- # AI Diff Commit 2.0
3+ ![ Version ] ( https://img.shields.io/badge/version-v1.0.0-blue )
44
5- Automates the creation of standardized Git commit messages using [ OpenAI's API] ( https://platform.openai.com/docs/ ) , ensuring adherence to the [ Conventional Commits specification ] ( https://www.conventionalcommits.org/en/v1.0.0/ ) for clear and meaningful commit history .
5+ Automates the creation of standardized Git commit messages using [ OpenAI's API] ( https://platform.openai.com/docs/ ) .
66
77![ JavaScript] ( https://img.shields.io/badge/javascript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=black )
88![ TypeScript] ( https://img.shields.io/badge/typescript-007ACC?style=for-the-badge&logo=typescript&logoColor=white )
99![ OpenAI] ( https://img.shields.io/badge/OpenAI-00A79D?style=for-the-badge&logo=openai&logoColor=white )
1010![ Git] ( https://img.shields.io/badge/Git-F05032?style=for-the-badge&logo=git&logoColor=white )
1111![ npm] ( https://img.shields.io/badge/npm-CB3837?style=for-the-badge&logo=npm&logoColor=white )
12- 
12+
13+ ## Built-In Commit Standards
14+
15+ [](https://www.conventionalcommits.org/en/v1.0.0/)
16+ [](https://evergreen-ils.org/)
1317
1418## Features
1519
@@ -26,21 +30,27 @@ Automates the creation of standardized Git commit messages using [OpenAI's API](
2630
2731## Installation Instructions
2832
33+ Commit Generator can be installed using npm:
34+
35+ ``` bash
36+ npm install -g commit-generator
37+ ```
38+
2939## Usage Instructions
3040
31- Once you have set up the script using the installation instructions, you can use the ` ai_diff_commit ` command to generate commit messages based on the changes in your repository.
41+ Once you have set up the script using the installation instructions, you can use the ` comgen ` command to generate commit messages based on the changes in your repository.
3242
3343### Flags
3444
3545- ` -a ` , ` --all ` : Add all changes in the repository to the commit. By default, only the modified files are added.
3646- ` -h ` , ` --help ` : Display help information for the script.
37- - ` -m ` , ` --model ` : Specify the OpenAI API language model to use for generating commit messages.
47+ - ` -m ` , ` --model ` : Specify the OpenAI API language model to use for generating commit messages. See the [ OpenAI API documentation ] ( https://platform.openai.com/docs/models/ ) for available models.
3848- ` -p ` , ` --push ` : Automatically push the changes to the remote repository after committing.
3949
4050For example, to generate a commit message based on all changes in the repository and push the changes to the remote repository, you can use the following command:
4151
4252``` bash
43- ai_diff_commit -a -p
53+ comgen -a -p
4454```
4555
4656## License
0 commit comments