Diff

Shows difference between components files.

Synopsis

bit diff <component IDs> [version]

Examples

Compare all modified components to their model version

Runs diff for all components in local Scope. Comparing local state in the working tree to the component objets in the Scope.

bit diff

Compare the specified components against their modified states

bit diff bit.example/string/pad-left

Compare the specified version to used or modified files

bit diff bit.example/string/pad-left 1.0.0

Compare between two specific versions of a component

bit diff bit.example/string/pad-left 1.0.0 2.0.0