Git Worktree Comparison

•
542
•

Compares files and directories between different Git worktrees or branches to identify code differences and changes.

This skill streamlines the process of comparing code across multiple Git worktrees by providing a unified interface for file and directory diffs. It automatically detects existing worktrees, allows for interactive selection of comparison targets, and supports both detailed line-by-line diffs and high-level summary statistics. Whether you're reviewing feature changes, comparing implementations between branches, or performing a pre-merge audit, this tool simplifies the complexity of managing and auditing disparate work environments without manual navigation.

主な機能

01Interactive mode for guided selection of worktrees and comparison paths
02Detailed change statistics including file additions, deletions, and line counts
03Seamless integration with standard Unix diff and Git diff tools
04542 GitHub stars
05Automatic detection of existing Git worktrees and their associated branches
06Recursive directory comparison and specific file-level diffing

ユースケース

01Reviewing code changes in a feature branch worktree against the main branch
02Comparing two different implementations of the same functionality in parallel worktrees
03Performing a quick audit of modified files before merging a hotfix into production