Back to browse
GitHub Repository

Git Add Hunk, built for agents to use

3 starsRust

GAH, programatically add Git hunks

by thatxliner·May 27, 2026·2 points·0 comments

AI Analysis

●●SolidBig BrainSolve My Problem

Content-based anchors let AI agents stage hunks without interactive prompts.

Strengths
  • Anchor system provides stable hunk identification across line number changes
  • Enables AI agent workflows that git add -p cannot support
  • Multiple selection modes: regex, line range, AST symbols with tree-sitter
Weaknesses
  • Niche audience limited to AI agent users and automation scripts
  • Tree-sitter AST feature mentioned but implementation details unclear
Target Audience

Developers using AI coding agents, automation script writers

Similar To

git add -p · git-absorb · git-crecord

Similar Projects