-
-
Notifications
You must be signed in to change notification settings - Fork 275
Open
Labels
feature/requestNew feature or requestNew feature or request
Description
I just reverted a (conventional) commit. The problem is, that in the release notes this feature is still included. I have not found a way to exclude (ignore) a commit.
Would it be a good idea to add parsers that ignore previously added commits? For example, I have the following history.
- sha=a001 message=Start
- sha=a002 message=feat: a new feature
- ...
- sha=a003 message=revert a002 feat: a new feature
If git cliff supported revert parsers, I could do something like this
commit_parsers = [
# ...
{ message = "^revert\s+(?<sha>.{40})", revert="true" }
]Another option would be to add the git SHA explicitly
commit_parsers = [
# ...
{ sha = "7976e3a76d3a27e8024d95eeb51d75bbd7391e95", skip="true" }
]Or is there another option that I did not find in the documentation?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature/requestNew feature or requestNew feature or request