3 ms·
> Like instead of `git rebase -i` and tedious text edits, why can't I just ctrl-select some commits, ctrl-C and ctrl-V? git obeys $EDITOR, so you can get that
by Izkata 2y ago
> Like instead of `git rebase -i` and tedious text edits, why can't I just ctrl-select some commits, ctrl-C and ctrl-V?
git obeys $EDITOR, so you can get that like this with whatever text editor you want:
EDITOR=gedit git rebase -i foo
- timhh 2y agoNo, I mean why can't you select commits in the graph and copy/paste them. I wasn't talking about copy/pasting the lines of text in the `git rebase -i` file.
- skydhash 2y agoBecause the graph is a query and not a model with methods on it. If you realy want to, you can code it (and deal with conflicts)