Show HN: GAH, programatically add Git hunks
Category: cli-tool
Tags: git, cli-tool, hunk-staging
Score: 6.5/10 (Innovation: 7, Technical: 6, Documentation: 7, Utility: 6)
gah is a Rust CLI tool that enables programmatic, non-interactive hunk-based staging for Git, allowing users to stage specific code hunks by index, content anchor, regex, or line range. It is especially interesting for AI coding agents and automation scripts that cannot use interactive prompts, filling a clear gap in Git's workflow for headless environments.
Target audience: backend devs, devops, data engineers
Repository: https://github.com/ThatXliner/gah ยท Rust
View on Hacker News