Latest / Developer tools

git-add-interactive

github.com · Open source · Quiet

Replacement for git add -p with auto-split and global hunk filters

Visit github.com ↗Share

  • staging
  • git add patch
  • git stage hunks
  • interactive git staging
  • git add p alternative
  • split git hunks
Stars
87
Forks
3
Open issues
7
Last commit
Found
18 months ago

GitHub figures as of . They are context, not a ranking.

git-add-interactive is a Go replacement for git's interactive staging script, with extra keys for splitting hunks. It can split all hunks automatically, apply a global filter to the hunks shown, and accept the rest in one step, which suits developers who stage changes in parts.

Positioned as an alternative to git-add--interactive.

Repository description on GitHub: “git-add--interactive with extra features”

What it does

  • Replacement for git add -p with the same interface and extra keys
  • S key auto-splits all hunks
  • G key sets a global regex filter on the hunks shown
  • A key accepts all hunks after splitting and filtering

Good for

  • Stage only the hunks that match a TODO or import pattern
  • Split every hunk automatically before staging a change

Suits: Developers who stage changes in parts with git.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw git-add-interactive on , when xn posted it to Show HN. GitHub listed no published releases for cwarden/git-add-interactive when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 75 points, 37 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 75 points, 37 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: cwarden/git-add-interactive
  2. Found: xn posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was git-add-interactive released?
No dated release record is available. Kip found it on Show HN on 30 May 2025.
Is git-add-interactive open source?
Its source is public on GitHub at cwarden/git-add-interactive under the MIT licence.
What does git-add-interactive run on?
Command line.
Is git-add-interactive free?
It is open source, so the code is free to read and run; check the licence for terms.
Is git-add-interactive still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorycwarden/git-add-interactive
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-44135738. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.