| Crates.io | git-warp |
| lib.rs | git-warp |
| version | 0.1.0 |
| created_at | 2025-07-23 19:45:26.743084+00 |
| updated_at | 2025-07-23 19:45:26.743084+00 |
| description | High-performance, UX-focused Git worktree manager combining CoW speed with advanced features |
| homepage | |
| repository | https://github.com/your-org/git-warp |
| max_upload_size | |
| id | 1765193 |
| size | 878,330 |
High-performance, UX-focused Git worktree manager with Claude Code integration
Git-Warp combines instantaneous Copy-on-Write worktree creation with rich user experience, terminal integration, and AI agent monitoring. Built in Rust for maximum performance and reliability.
# Clone and build
git clone https://github.com/your-org/git-warp
cd git-warp
cargo build --release
# Make it available globally (optional)
cargo install --path .
# Test installation
./target/release/warp --help
# Install hooks for agent monitoring
warp hooks-install --level user # For all projects
warp hooks-install --level project # For current project only
# Verify integration
warp hooks-status
# Start monitoring dashboard
warp agents
# List all worktrees with status
warp ls
# Create/switch to worktree (with CoW on APFS)
warp switch feature/new-feature
warp feature/new-feature # Short form
# Custom worktree location
warp switch --path /custom/location feature/branch
# Force traditional Git worktree (skip CoW)
warp switch --no-cow feature/branch
# Interactive cleanup with TUI selection
warp cleanup --interactive
# Automatic cleanup by mode
warp cleanup --mode merged # Clean merged branches
warp cleanup --mode remoteless # Clean branches without remotes
warp cleanup --mode all # Clean all eligible branches
# Force cleanup with process termination
warp cleanup --mode merged --force --kill
# Safe testing with dry-run
warp cleanup --mode all --dry-run
# Install hooks for automatic agent tracking
warp hooks-install --level user
# View integration status
warp hooks-status
# Start live agent monitoring dashboard
warp agents
# Remove hooks if needed
warp hooks-remove --level user
# View current configuration
warp config --show
# Interactive configuration editor
warp config --edit
# Terminal mode options
warp --terminal tab switch feature/branch # New tab (default)
warp --terminal window switch feature/branch # New window
warp --terminal inplace switch feature/branch # Current terminal
warp --terminal echo switch feature/branch # Just show path
# Enable auto-confirmation for scripts
warp --auto-confirm cleanup --mode merged
# Debug mode for troubleshooting
warp --debug switch feature/debug-branch
# Shell integration setup
warp shell-config bash >> ~/.bashrc
warp shell-config zsh >> ~/.zshrc
rayon for environment fixes~/.config/git-warp/config.toml)# Terminal behavior
terminal_mode = "tab" # tab, window, inplace, echo
use_cow = true # Enable CoW when available
auto_confirm = false # Skip confirmation prompts
[git]
default_branch = "main" # Default branch for operations
auto_fetch = true # Fetch before branch analysis
auto_prune = true # Prune during fetch
[process]
check_processes = true # Check for processes before cleanup
auto_kill = false # Automatically terminate processes
kill_timeout = 5 # Timeout in seconds
[terminal]
app = "auto" # auto, terminal, iterm2, warp
auto_activate = true # Activate new terminal windows
init_commands = [] # Commands to run in new terminals
[agent]
enabled = true # Enable Claude Code integration
refresh_rate = 1000 # Dashboard refresh rate (ms)
max_activities = 100 # Max activities to track
claude_hooks = true # Enable Claude Code hooks
export GIT_WARP_TERMINAL_MODE=window
export GIT_WARP_USE_COW=false
export GIT_WARP_AUTO_CONFIRM=true
export GIT_WARP_WORKTREES_PATH=/custom/worktrees
# Run with debug logging
RUST_LOG=debug cargo run -- ls --debug
# Run comprehensive tests
cargo test --all-targets
# Run performance benchmarks
cargo bench
# Check code quality
cargo clippy --all-targets
cargo fmt
# Test with actual Git repository
cargo run -- switch test/integration
cargo run -- agents # Start dashboard
cargo run -- cleanup --interactive
cargo run -- hooks-status
MIT License - see LICENSE file for details.
This project successfully combines and enhances concepts from:
Built with โค๏ธ in Rust ๐ฆ
Git-Warp has successfully evolved from a concept to a production-ready tool that combines the best of both worlds:
โ
Fast as CoW - Instant worktree creation on supported filesystems
โ
Smart as AI - Deep Claude Code integration with real-time monitoring
โ
Rich as TUI - Interactive dashboards and cleanup interfaces
โ
Safe as Git - Comprehensive safety checks and process management
Ready to revolutionize your Git workflow! ๐