Skip to content

Commit e869533

Browse files
committed
feat: add tip replacement flag to commit command
- Add a new tip replacement flag `--anmed` in the `codegpt commit` command. Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
1 parent 3947d23 commit e869533

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,12 @@ We are trying to translate a git commit message to Traditional Chinese language
148148
Write the commit message to .git/COMMIT_EDITMSG file
149149
```
150150

151+
You can replace the tip of the current branch by creating a new commit. just use `--anmed` flag
152+
153+
```sh
154+
codegpt commit --anmed
155+
```
156+
151157
## Change commit message template
152158

153159
Default commit message template as following:

0 commit comments

Comments
 (0)