[TxMt] Re: Git interactive rebase

Allan Odgaard mailinglist at textmate.org
Sat Oct 17 00:47:50 UTC 2015


On 17 Oct 2015, at 2:31, Jacob Carlborg wrote:

> The second question I have, does anyone know if it's possible to set 
> which commits to edit, squash and so on, before starting an 
> interactive rebase? Usually a text editor opens and the users selects 
> the commands after starting the rebase. Perhaps using libgit2 if not 
> through the regular command line interface.

I think one way would be to call “git -i …” but change GIT_EDITOR 
so that it calls your custom “editor” instead of an actual text 
editor.


More information about the textmate mailing list