@@ -70,7 +70,7 @@ You can call `codegpt` directly to generate a commit message for your staged cha
7070
7171``` sh
7272git add < files...>
73- codegpt commit
73+ codegpt commit --preview
7474```
7575
7676The commit message is shown below.
@@ -81,12 +81,10 @@ We are trying to summarize a git diff
8181We are trying to summarize a title for pull request
8282================Commit Summary====================
8383
84- Add OpenAI integration and CLI usage instructions
84+ feat: Add preview flag and remove disableCommit flag in commit command and template file.
8585
86- - Add download links for pre-compiled binaries for various platforms
87- - Add instructions for setting up OpenAI API key
88- - Add CLI usage instructions for generating commit messages with ` codegpt`
89- - Add references to OpenAI Chat completions documentation and introducing ChatGPT and Whisper APIs
86+ - Add a ` preview` flag to the ` commit` command
87+ - Remove the ` disbaleCommit` flag from the ` prepare-commit-msg` template file
9088
9189==================================================
9290Write the commit message to .git/COMMIT_EDITMSG file
@@ -95,7 +93,7 @@ Write the commit message to .git/COMMIT_EDITMSG file
9593or translate all git commit messages into a different language (` Traditional Chinese ` , ` Simplified Chinese ` or ` Japanese ` )
9694
9795``` sh
98- codegpt commit --lang zh-tw
96+ codegpt commit --lang zh-tw --preview
9997```
10098
10199Consider the following outcome:
@@ -104,13 +102,13 @@ Consider the following outcome:
104102Summarize the commit message use gpt-3.5-turbo model
105103We are trying to summarize a git diff
106104We are trying to summarize a title for pull request
107- We are trying to translate a git commit message to Traditional Chineselanguage
105+ We are trying to translate a git commit message to Traditional Chinese language
108106================Commit Summary====================
109- 增加發布頁面改進和CLI模式說明。
110107
111- - 在發布頁面上增加了不同系統的預編譯二進制文件。
112- - 提供設置OpenAI API密鑰的說明。
113- - 提供使用CLI模式生成暫存更改的提交消息的說明。
108+ 功能:重構 codegpt commit 命令標記
109+
110+ - 將「codegpt commit」命令新增「預覽」標記
111+ - 從「codegpt commit」命令中移除「--disableCommit」標記
114112
115113==================================================
116114Write the commit message to .git/COMMIT_EDITMSG file
0 commit comments