Settings

Theme

Show HN: Terminal based Git interactive rebase editor written in Rust

github.com

17 points by mitmaro 7 years ago · 8 comments

Reader

mitmaroOP 7 years ago

Author here, I started this project over two years ago when one of my friends challenged me to write it. It was based on https://github.com/sjurba/rebase-editor , but does not require NodeJS/JavaScript. I and several others have been using it almost daily for over a year, so it is ready for general use.

It's written in Rust, but as I only occasionally get a chance to work in the language, development has been slow. I would very much welcome PRs to make improvements and add functionality.

chatmasta 7 years ago

This is the kind of tool I've always needed without realizing it. I didn't even know git could use specific editors for rebasing.

I rebase every day and although I enjoy practicing my vim strokes, the rebase editor is the last place I want to make a mistake. So this looks really useful. I'm going to install it. Thanks!

  • mitmaroOP 7 years ago

    No problem!

    Git does a fair bit as files under the covers, so it makes tools such as this very possible.

    • chatmasta 7 years ago

      Yeah, I've always known you can use a custom editor for commits etc, but didn't know git config had enough granularity to use a custom tool for rebasing. Very cool!

      Btw, requests:

      - Please publish a homebrew package

      - Mention any git version requirements in the README (or if this will work with nearly any version of git?)

dvalentiate 7 years ago

I've used this occasionally and I am a fan! Very intuitive.

jackharrhy 7 years ago

I've been using this daily for a while now, super useful!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection