Better HN
topnewbestaskshowjobs
Log inSign up

halfline

1 karma · joined Apr 17, 2026 (7mo ago) · 4 submissions

https://github.com/halfline
Submissions

comment 7mo ago · link · parent

There's been a new release to add "undo" support !!

Details on twitter:

https://x.com/halfline/status/2045625498940707149?s=20

comment 7mo ago · link · parent

https://halfline.github.io/git-stage-batch/

It's a tool for turning a chaotic working tree into clean Git history before pushing.

git-stage-batch adds named deferred change sets (“batches”), multi-pass staging, and finer-grained (line level) patch selection on top of the usual hunk workflow. I built it because `git add -p` and `git rebase` alone weren’t enough for large refactors. Its CLI mode is especially useful for getting AIs to help organize commits from a dirty working tree.

Interested in feedback from people who obsess over commit hygiene.