Discover and explore top open-source AI tools and projects—updated daily.
coderabbitaiGit worktree manager for parallel development
Top 47.5% on SourcePulse
This project provides a Bash-based CLI tool, git-gtr, to simplify and automate the management of Git worktrees. It targets developers seeking to improve parallel development workflows, especially when integrating with modern editors and AI coding assistants, by abstracting away the verbosity of native Git commands.
How It Works
git-gtr acts as a wrapper around git worktree, offering intuitive commands for creating, opening, managing, and removing worktrees. It automates common setup tasks like copying configuration files, installing dependencies via customizable hooks, and launching integrated editors or AI tools. This approach significantly enhances developer experience (DX) for parallel branch development.
Quick Start & Requirements
Installation involves cloning the repository and creating a symbolic link to the bin/git-gtr executable in the system's PATH.
git clone https://github.com/coderabbitai/git-worktree-runner.git && cd git-worktree-runner && sudo ln -s "$(pwd)/bin/git-gtr" /usr/local/bin/git-gtrHighlighted Details
new, editor, ai, list, rm).Maintenance & Community
The project is copyrighted by CodeRabbit. Contributions are welcomed, with specific areas for new editor/AI adapters and bug reports highlighted. No explicit community channels (like Discord/Slack) or prominent maintainer information are detailed in the README.
Licensing & Compatibility
Licensed under the Apache License 2.0. This license permits commercial use and integration into closed-source projects without copyleft restrictions.
Limitations & Caveats
Version 2.0 introduced a command rename from gtr to git gtr. Bash shell completions require bash-completion v2+. Native Windows support is experimental; Git Bash or WSL2 is recommended. The --force flag for managing multiple worktrees on the same branch should be used cautiously due to potential merge conflicts. Older Git versions (2.5-2.21) offer basic support with limited features.
1 day ago
Inactive
plandex-ai