Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSupport revert bump or commit #251
Open
Labels
Comments
|
Do you mean |
|
Yes, updated, thanks. It could also be just a revert for a bump, like |
|
I would like to take this issue |
|
Sure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
So the idea is to be able to undo a bump + changelog just made or commit.
This can be either a command or just documentation (doesn't need to be part of the code).
For example, in my use case I usually forget to add
--changelogor sometimes I forgot something.This command is intended for local usage. Specially if you manually execute
cz bump --changelogPossible Solution
The code to revert a bump for example is:
for a bump:
for a commit:
Additional context
In case we go for a command I see something like this:
I'd avoid
revertbecause it has a different meaning in git. Which is adding a new commit reverting the previous one.Opinions? Thoughts?