beads/website/versioned_docs/version-1.0.4/cli-reference/diff.md
matt wilkie c97c416242
docs: publish v1.0.4 docs snapshot (#3845)
* docs: publish v1.0.4 docs snapshot

* release: guard docs version snapshots
2026-05-09 14:42:25 -07:00

610 B

id title slug sidebar_position
diff bd diff /cli-reference/diff 999

Generated from bd help --doc diff

bd diff

Show the differences in issues between two commits or branches.

The refs can be:

  • Commit hashes (e.g., abc123def)
  • Branch names (e.g., main, feature-branch)
  • Special refs like HEAD, HEAD~1

Examples: bd diff main feature-branch # Compare main to feature branch bd diff HEAD~5 HEAD # Show changes in last 5 commits bd diff abc123 def456 # Compare two specific commits

bd diff <from-ref> <to-ref>