You can use the command git rebase with interactive option. To use it, type
git rebase -i , where is the commit hash before the list of
commits that you want to rearrange. With that, the default editor will open
and changing the line order, you will change the commits order.
--
You received this
Hello,
Need to know if it's possible, if so how to go about it, rearranging
commits in a revision history? I understand I can identify commits by their
SHA, that type thing. And fortunately the revision history on this repo is
shallow. Not much activity thank God. It's an embedded
board-suppor