Show the diff between the components' current source files and config, and their latest snapshot or tag
$bit diff [component-pattern] [version] [to-version]
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. | |
version | specific version to compare against | |
to-version | specific version to compare to |
Options
Option | Option Alias | Description | Value Type |
---|---|---|---|
--verbose | -v | show a more verbose output where possible | boolean |
--table | -t | show tables instead of plain text for dependencies diff | boolean |