←back to thread

115 points NyuB | 6 comments | | HN request time: 0.206s | source | bottom

I use interactive rebase quite often, and particularly like the editor bundled with IntelliJ. But I do not always work with IntelliJ, and am not 'fluent' with Vim, so I tried to replicate roughly the same rebase experience within a TUI. I used a small TUI OCaml project i made last year.

The notable features are: - Move commits up and down, fixup, drop - Rename commits from the editor (without having to stop for a reword during the rebase run) - Visualize modified files along commits - 'Explode' a commit ,creating a commit for each modified file (a thing I found myself doing quite often)

Feedbacks (both on the tool and the code) and contributions welcome, hope it could fit other people needs too !

1. oniony ◴[] No.41836548[source]
Went to repository expecting a Git rebase editor and found a whole world of confusion.

Not sure what this project is now, it certainly does not seems to be a TUI focused on Git rebases.

replies(3): >>41836591 #>>41836601 #>>41836791 #
2. OJFord ◴[] No.41836591[source]
It seems to be a demo app for the framework described, your 'whole world of confusion' is the framework and other demo app(s):

https://github.com/NyuB/ocli?tab=readme-ov-file#newbase

replies(1): >>41837198 #
3. Bigpet ◴[] No.41836601[source]
I was confused at first too because I tabbed out and came back to it.

You need to scroll down to the `Newbase` Section. It's apparently both the repo for some kind of cli framework and for the rebase tool.

replies(1): >>41840969 #
4. ◴[] No.41836791[source]
5. oniony ◴[] No.41837198[source]
Yeah, I got that eventually.

I can get behind installing a focused app to give it a whirl and see how it flies, but I draw the line at worlds of confusion. I don't need that on my PC (looking at you NPM).

6. NyuB ◴[] No.41840969[source]
For my defense, I'm pretty sure used this link https://github.com/NyuB/ocli#newbase but the #newbase part was stripped ;)