Re:Show HN I made a git rebase TUI editor
by the_duke on Monday October 14, 2024 @07:47AM
(#41836624)
I think all of this is available in lazygit as well, which seems to still be way too unknown, despite the 50k stars: https://github.com/jesseduffield/lazygit
[ Parent
| on HN ]
Re:Show HN I made a git rebase TUI editor
by amar-laksh on Monday October 14, 2024 @07:56AM
(#41836678)
Bloody love lazygit!
lazygit is as necessary in my life as Vim. Absolutely incredible tool!
Fucking love lazygit
No other TUI for git is comparable to it.
Re:Show HN I made a git rebase TUI editor
by rkangel on Monday October 14, 2024 @09:05AM
(#41837147)
All I want is a good TUI git log viewer. I'm perfectly happy to do all the operations on the command line, but navigating the log works well interactively (e.g. start as --first-parent, with single line entries and then be able to selectively show branch commits, and patches for commits).
I end up with a log view and then copy and paste commit hashes to do different things. Or use Sublime Merge which is great, but doesn't work over SSH.
Re:Show HN I made a git rebase TUI editor
by skydhash on Monday October 14, 2024 @12:15PM
(#41838948)
Not a great solution, but install emacs and then magit. A bit of a learning curve but works great.
Re:Show HN I made a git rebase TUI editor
by dingnuts on Monday October 14, 2024 @02:16PM
(#41840271)
I love Emacs and magit and use them myself but this advice seems a little bit like telling someone looking to buy an airline ticket that the best way to get from coast to coast is to become a pilot
It's true that the juice may be worth the squeeze for some, but "a bit of a learning curve" undersells it a little bit, I fear LOL
Re:Show HN I made a git rebase TUI editor
by skydhash on Monday October 14, 2024 @02:32PM
(#41840430)
That’s a strange parallel to make. It’s not Linux from Scratch. The basic can be taught in 5 minutes. Enough for the requested task.
Re:Show HN I made a git rebase TUI editor
by keybored on Monday October 14, 2024 @09:18AM
(#41837262)
I was curious if tig(1) could do such a navigation. But I didn’t find anything.
Re:Show HN I made a git rebase TUI editor
by rkangel on Monday October 14, 2024 @09:37AM
(#41837410)
tig seem pretty close. Does everything except toggling "first-parent". I might implement that bit.
Re:Show HN I made a git rebase TUI editor
by keybored on Monday October 14, 2024 @09:52AM
(#41837539)
I don’t understand? It accepts all git-log(1) etc. arguments. `git --first-parent` for example. But I don’t see how to navigate from a merge commit to the second parent or something.
Re:Show HN I made a git rebase TUI editor
by rkangel on Monday October 14, 2024 @10:15AM
(#41837743)
Yes, I've just discovered that in parallel. All I need for perfection is to be able to enable/disable that in the view dynamically (and the cursor stay in the same place).
But what's there is actually useful and I've installed tig properly now.