Re: Can we do better than "git checkout/add -p"
- From
- Stefan Haller <lists@haller-berlin.de>
- Date
- Aug 10, 2026, 07:26 UTC
- Message-ID
- <26c2f7e0-03ef-4c45-8175-adcc2e0395ac@haller-berlin.de>
- In-Reply-To
- <anlpmNSjBUJ8p9RL@pks.im>
On 10.08.26 08:03, Patrick Steinhardt wrote:
Show 6 quoted lines
> I've been playing around with the thought of introducing ncurses-based > interfaces into Git. I've been mostly thinking about git-history(1) here > so that you can just move commits around, squash them together, drop > them and so on. But I think fancy stuff like TUIs can also be applied to > other parts of Git, as well, to make things a bit more visual to our > users and, as a consequence, easier to use.
That sounds a whole lot like lazygit to me [1]; it does all those things in a rather intuitive way, including Junio's original use case of selecting a hunk and staging or discarding it.
Is it really worth adding such functionality to core git? I like the idea of tools specializing on what they do well; core git on providing the core functionality, GUI tools on presenting it in a UI.
[1] https://github.com/jesseduffield/lazygit