clash-sh

clash-sh / clash

Public

Avoid merge conflicts across git worktrees for parallel AI coding agents

29
1
100% credibility
Found Feb 09, 2026 at 9 stars 3x -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

Clash is an open-source command-line tool that detects potential merge conflicts across git worktrees to enable smoother parallel development with multiple AI coding agents.

How It Works

1
💡 Discover Clash

You hear about Clash, a helpful companion for coordinating multiple AI coding assistants working on your project at the same time.

2
🚀 Get it set up quickly

With a simple download, Clash is ready to use on your computer in moments.

3
🤖 Link to your AI helper

Tell your favorite AI coding tool to check with Clash before making changes, so it pauses if there's overlap.

4
🔍 Spot overlaps instantly

Run a quick check on a file and see a clear picture of where other assistants have touched the same spots.

5
📊 View the full overview

Get a colorful grid showing all potential clashes between your assistants' work areas.

6
👀 Watch changes live

Turn on real-time monitoring to see updates appear as your assistants make progress.

🎉 Work flows smoothly

Your AI assistants collaborate without wasting time on clashing changes, letting you build faster and smarter.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 9 to 29 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is clash?

Clash is a Rust CLI tool that scans git worktrees to detect potential merge conflicts early, letting you avoid merge conflicts git-style headaches when running parallel AI coding agents like Claude or Cursor. Fire up `clash status` for a conflict matrix across branches, `clash check ` before edits, or `clash watch` for real-time TUI monitoring with JSON output for scripts. Install via curl script, Homebrew, or Cargo—works on mac, Linux, Ubuntu, Windows.

Why is it gaining traction?

It plugs straight into Claude Code hooks or plugins to block conflicting writes automatically, saving hours of wasted AI compute on overlapping changes—far ahead of manual git diff/merge dances. The pretty conflict matrix and live watch mode give instant visibility into worktree clashes, with exit codes and JSON perfect for CI/CD to avoid merge commits. Devs grab clash github download for its zero-config setup in multi-agent flows.

Who should use this?

AI power users spinning 3+ agents in separate worktrees for features or bugs, like indie devs coordinating Claude on auth while Cursor tackles UI. Teams dodging merge conflicts across parallel branches in monorepos. Anyone tired of late-stage git rebase pain in fast AI-assisted coding.

Verdict

Grab it if you're deep in AI parallelism—early detection pays off fast despite 11 stars and 1.0% credibility score signaling newness. Solid docs and MIT license, but watch for edge cases in complex repos; test in a sandbox first.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.