🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.git
1 messages
1 total messages Started by David Aguilar Wed, 02 Dec 2026 04:08
Re: Feature request
#4240
Author: David Aguilar
Date: Wed, 02 Dec 2026 04:08
46 lines
12465 bytes
[Disclaimer: I am the author of Git Cola]

On Tue, Aug 18, 2026 at 10:47:25AM +0200, Ernst Reissner wrote:
> Hello all,
> 
> Gittyup s possibility to index files linewise turned out to be very useful.
> 
> Me and some of my colleagues at work would adore very much that feature in
> git itself.

I would highly recommend that you try out Git Cola [1].
FWIW, Git Cola actually invented the interactive line-wise staging
interface back in late 2007.

Cola supports interactive line-wise staging, unstaging, and reverting of
edits. [2] This is one of the use cases where jumping out of the
terminal is actually worth it IMO.

Cola can be completely driven via keyboard actions with minimal mouse
usage, and the UI is intended for both Git power users and novices so
you may find that it compliments the core Git CLI quite well. [3] [4]

Cola is 19 years old now, so if you haven't tried it recently you may be
been missing out on a hidden gem. For example, Cola has a builtin diff
viewer for image files (.png, .svg, etc.) beyond its tight integration
with `git difftool` and the rest of the core Git ecosystem.

One of the best new features in Cola is its full Undo + Redo support
for what are typically destructive Git operations. You can carefully
craft the state of the index using Cola, and if you accidentally
un/stage something that you didn't intend to, you can `ctrl-z` /
`shift-ctrl-z` from the Diff editor and it'll undo/redo the edit.

This even works for unstaged worktree edits -- the kind that you would
typically revert using `git checkout -- <path>`. If you use Cola to make
these edits you can actually undo what is typically a destructive
Git operation.

[1] https://github.com/git-cola/git-cola/
[2] https://git-cola.readthedocs.io/en/latest/git-cola.html#id4
[3] https://git-cola.readthedocs.io/en/latest/git-cola.html#keyboard-shortcuts
[4] https://git-cola.github.io/share/doc/git-cola/hotkeys.html

-- 
David
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads