SyntaxFix
Write A Post
Hire A Developer
Questions
To preserve the branching and merging structure is important to use the --preserve-merges option when doing the rebase:
--preserve-merges
git rebase --preserve-merges -i HEAD^^