Revert tagged or snapped versions for component(s)
$bit reset [component-pattern]
Additional Notes
For more info, visit: https://bit.dev/components/tags#undoing-a-tag
Arguments
Argument | Description | Required |
---|---|---|
component-pattern | component name, component id, or component pattern. use component pattern to select multiple components. wrap the pattern with quotes. use comma to separate patterns and "!" to exclude. e.g. "ui/**, !ui/button". use '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'. use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern. | |
component-version | the version to untag (semver for tags. hash for snaps) |
Options
Option | Option Alias | Description | Value Type |
---|---|---|---|
--all | -a | revert all unexported tags/snaps for all components | boolean |
--head | - | revert the head tag/snap only (by default, all local tags/snaps are reverted) | boolean |
--soft | - | revert only soft-tags (components tagged with --soft flag) | boolean |
--force | -f | revert the tag even if it's used as a dependency. WARNING: components that depend on this tag will be corrupted | boolean |
--never-exported | - | reset only components that were never exported | boolean |