gitgrip

git a grip

Manage multiple git repositories as one workspace. Synchronized branches, linked PRs, and atomic merges.

v0.13.0

Everything you need for multi-repo

One tool to synchronize branches, link pull requests, and keep multiple repositories working as one.

📜

Manifest-Based Config

Define all your repos in a single YAML file. Version it, share it, and onboard new developers instantly.

🧩

Composable Workspaces

Inherit repos, scripts, hooks, and env from shared gripspace repositories. Build on top of team defaults.

🌐

Multi-Platform

Works with GitHub, GitLab, Azure DevOps, and Bitbucket. Mix platforms in a single workspace.

🔀

Synchronized Branches

Create, checkout, and delete branches across every repo at once. Always stay in sync.

🔗

Linked Pull Requests

Create PRs that reference each other across repos. Review and track changes as a cohesive unit.

Atomic Merges

All-or-nothing merge strategy ensures repos stay in sync. No more partial merges breaking your stack.

Simple, powerful workflow

Everything works the way you expect git to work — just across all your repos at once.

~/workspace
# Check status of all repos
$ gr status
Repo Branch Status vs main
frontend main -
backend main -
shared main -
 
# Create a branch across all repos
$ gr branch feat/auth
Created branch in 3 repos
 
# Make changes, then commit and create linked PRs
$ gr add . && gr commit -m "feat: add auth"
$ gr pr create -t "feat: add auth" --push
Created 3 linked PRs
 
# Merge all PRs atomically
$ gr pr merge
Merged 3 PRs

Get started in seconds

Install gitgrip and start managing your repos together.

$ brew tap laynepenney/tap
$ brew install gitgrip

macOS and Linux

$ cargo install gitgrip

Requires Rust toolchain

# Download from GitHub Releases
$ curl -sL https://github.com/laynepenney/gitgrip/releases/latest

Pre-built for Linux (x86_64), macOS (Apple Silicon), and Windows

$ git clone https://github.com/laynepenney/gitgrip.git
$ cd gitgrip
$ cargo install --path .

Build from source with Rust

AI-Native Workspaces

Built for a world where AI agents are your teammates. New in v0.13.0

gr agent context

AI tools query workspace metadata — repos, languages, build commands, conventions — with --json for machine consumption.

gr agent generate-context

Define context once, generate for Claude, OpenCode, Codex, and Cursor. Runs automatically during gr sync.

gr verify

Boolean pass/fail assertions for CI. --clean, --on-branch, --synced with exit code 0/1 for scripting.

--json everywhere

Machine-readable output on every command. Status, diff, PR status, verify, link — all structured JSON.