Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 837 Bytes

cli-diff.md

File metadata and controls

44 lines (32 loc) · 837 Bytes
id title permalink layout category prev next
cli-diff
Diff
docs/cli-diff.html
docs
CLI Reference
cli-deprecate.html
cli-eject.html

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 Collection. Comparing local state in the working tree to the component objets in the Collection.

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