Worktree Manager (wtm) ๐ณ A fast, modern CLI tool for managing Git worktrees in bare repositories Worktree Manager simplifies Git worktree operations, making it easy to work with multiple branches simultaneously in bare repositories. Perfect for CI/CD environments, shared development servers, or anyone who wants to streamline their Git workflow. โจ Features ๐ Lightning fast - Built with Bun for maximum performance - Built with Bun for maximum performance ๐ Bare repository focused - Designed specifically for bare Git repositories - Designed specifically for bare Git repositories ๐ Smart branch management - Automatic fetching and branch creation - Automatic fetching and branch creation ๐ช Hook system - Extensible post-creation hooks for automation - Extensible post-creation hooks for automation ๐ Clear output - Beautiful, informative command output - Beautiful, informative command output โก Zero dependencies - Uses Bun's built-in shell capabilities - Uses Bun's built-in shell capabilities ๐ก๏ธ Safe operations - Comprehensive validation and error handling ๐ฆ Installation Prerequisites Bun runtime (v1.0+) Git repository configured as bare ( git config core.bare true ) ) Git remotes configured (typically origin ) Local Installation # Clone the repository git clone https://github.com/your-username/worktree-manager.git cd worktree-manager # Install and link globally bun install bun link # Verify installation wtm help Development Setup # Clone and install git clone https://github.com/your-username/worktree-manager.git cd worktree-manager # Make executable and test chmod +x index.ts ./index.ts help # For development with auto-reload bun run dev ๐ Quick Start # Navigate to your bare repository cd /path/to/your/bare-repo.git # Create a new worktree from main branch wtm create feature-auth --from main # List all worktrees wtm list # Switch to the worktree (if not automatically switched) wtm checkout feature-auth # Work on your feature... # (edit files, make commits, etc.) # When done,...
First seen: 2025-09-30 14:37
Last seen: 2025-09-30 14:37