I do the same thing with mercurial&#x27;s &quot;hg commit -i&quot; interactive interface. There&#x27;s also a very nice curses interface for interactive hunk selection which is currently behind an experimental config flag but is shipped with the core application.