You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 3, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,6 @@ Automates the creation of standardized Git commit messages using [OpenAI's API](
26
26
-**Internet Connection**: Requires an active internet connection to communicate with the OpenAI API.
27
27
-**Requires a Git Repository**: Needs to be run in a Git repository to access the changes for generating commit messages.
28
28
29
-
## Dependencies
30
-
31
29
## Installation Instructions
32
30
33
31
Commit Generator can be installed globally using npm:
@@ -46,6 +44,7 @@ Once you have set up the script using the installation instructions, you can use
46
44
-`-h`, `--help`: Display help information for the script.
47
45
-`-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.
48
46
-`-p`, `--push`: Automatically push the changes to the remote repository after committing.
47
+
- If a remote branch is not specified, the changes are pushed to a new remote branch with the same name as the current branch. (I plan to make this more configurable in the future.)
49
48
50
49
For 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:
0 commit comments