A Vim plugin to reverse the order commits are displayed during a Git interactive rebase.
This plugin is based on my difficultly with mentally shifting from
git log
(where the most recent commit appears at the top)
to git rebase --interactive
(where the most recent commit appears at the bottom).
For more information, see my post on why the Git Interactive Rebase Order is Wrong.
Install using your favorite plugin manager.
- Add
Plug 'salcode/vim-interactive-rebase-reverse'
to .vimrc - Run
:PlugInstall
For git log
(on the left), the newest commit is on the top but for git rebase --interactive
(on the right), the newest commit is on the bottom.
The newest commit is on the top for both git log
and git rebase --interactive
because this plugin modifies the order for the interactive rebase.