Re: rebase -i: quick/inline reword
- From
Johannes Altmanninger <aclopte@gmail.com>
- Date
- Aug 16, 2020, 00:14 UTC
- Message-ID
- <20200816001401.1144752-1-aclopte@gmail.com>
- In-Reply-To
- <87sggab031.fsf@osv.gnss.ru>
Show 8 quoted lines
> > !f() { GIT_SEQUENCE_EDITOR=true git rebase -i --autosquash "$@"; };f
>
> These are very good and useful features indeed, and they are examples of
> batch processing that is very handy for automation, but lacks
> interactivity. What I rather have in mind is being able to put all the
> messages /simultaneously/ into my favorite text editor and edit them
> more or less freely till I'm satisfied, then "commit" the overall result
> by passing it back to git. Essentially "git rebase -i" on steroids.git-revise is a third-party tool that can do this
https://git-revise.readthedocs.io/en/latest/
For example, "git revise -ie" allows you to edit all commit messages in @{u}..HEAD in a single buffer.