Automates the process of merging git worktree branches back into target branches while performing environment cleanup.
The Git Worktree Merge skill streamlines complex git workflows by managing the transition from isolated worktrees back to the primary repository. It automatically detects if you are working within a worktree, validates the environment for uncommitted changes to prevent data loss, and executes a merge into your target branch (defaulting to main). Once the merge is successful, the skill handles the manual overhead of removing the worktree directory and verifying the cleanup, allowing developers to switch tasks seamlessly without manual file management.
주요 기능
01Automated removal and cleanup of worktree directories
02Automated path switching between worktrees and main repository
03Safety checks for uncommitted changes before merging
04Merge conflict detection and detailed error reporting
053 GitHub stars
06Automatic worktree environment verification
사용 사례
01Automating the cleanup of temporary git worktrees after finishing a task.
02Ensuring a clean repository state when moving from sub-directory work to primary development.
03Merging feature branches developed in isolated worktrees back to the main branch.