mirror of
https://github.com/orhun/git-cliff.git
synced 2024-09-11 15:05:30 +03:00
docs(readme): update --with-commit
example in README.md
This commit is contained in:
parent
e4c60b20be
commit
47d124add2
@ -229,9 +229,9 @@ commit_msg="chore(release): update CHANGELOG.md for 1.0.0"
|
||||
|
||||
# You might need to include the commit messages that do not exist
|
||||
# for testing purposes or solving the chicken-egg problem.
|
||||
git cliff --with-commit "$commit_msg"
|
||||
git cliff --with-commit "$commit_msg" -o CHANGELOG.md
|
||||
|
||||
git commit -m "$commit_msg"
|
||||
git add CHANGELOG.md && git commit -m "$commit_msg"
|
||||
```
|
||||
|
||||
Sort the commits inside sections:
|
||||
|
Loading…
Reference in New Issue
Block a user