1
1
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:
Orhun Parmaksız 2021-12-11 19:19:42 +03:00
parent e4c60b20be
commit 47d124add2
No known key found for this signature in database
GPG Key ID: B928720AEC532117

View File

@ -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: