Hacker News new | ask | show | jobs
by Feathercrown 603 days ago
Something I've always wanted is a simple way to rearrange local commits between different branches (or reorder them) by clicking and dragging. I know there are CLI tools out there to do it, but I haven't explored the options yet. I think that's much more intuitive than doing the same actions using the CLI, although that's mostly because using the CLI forces you to know the Git internals by heart, which is probably a good thing in the long run.
3 comments

https://github.com/jesseduffield/lazygit

Can do it with a couple keys, 4 (commits tab), then ctl+j/k depending on where you want the commit to be.

I think for folks looking to basically do a "click-and-drag rebase" like that, a GUI interface with comparable ease in displaying and resolving patch application issues (diffs that don't apply) is hard to come by.

I've heard good things about gitkraken though, but haven't used it myself.

For me, I actually started off Sourcetree and my knowledge of git commands actually comes from their “show console output” option.