bd help --doc duplicates.
Find issues with identical content (title, description, design, acceptance criteria).
Groups issues by content hash and reports duplicates with suggested merge targets.
The merge target is chosen by:
- Reference count (most referenced issue wins)
- Lexicographically smallest ID if reference counts are equal Only groups issues with matching status (open with open, closed with closed). Example: bd duplicates # Show all duplicate groups bd duplicates —auto-merge # Automatically merge all duplicates bd duplicates —dry-run # Show what would be merged