sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
272 stars 14 forks source link

Cut&Paste commits for reordering #1920

Open eugenesvk opened 1 month ago

eugenesvk commented 1 month ago

Problem description

Currently it's a pain to move one commit from one place to another, you either have to repeat 1-move operation or resort to a workflow outside of Sublime Merge.

There is currently another great feature request to drag&drop https://github.com/sublimehq/sublime_merge/issues/1194, but this one would complete it - commits in the view should be just like files in your file browser so that you can use you years of muscle memory to manage them in the same way

Preferred solution

Add an option to, e.g., Ctrl+X to "cut" a commit, showing it in a different color/emphasis, then click on another commit and press "Ctrl+V" to move that commit to the desired location, invoking the usual rebase workflow on conflicts

Alternatives

Interactive rebase where in a text editor I can cut a commit line, move to another line, paste it, and have it moved there

Screenshots

N/a