Really flatten a git merge

前端 未结 4 1610
半阙折子戏
半阙折子戏 2020-12-08 08:48

There\'re few question about \"flattening merge\" on StackOverflow, with an answer usually being \"git rebase\". These answers though miss one crucial point - order of commi

4条回答
  •  轮回少年
    2020-12-08 09:26

    What is the problem with leaving seperate development in seperate lines up until they were merged? If they were seperate, then they were seperate.

    There are many ways to view the history in chronological order without hacking the history as you're trying. Have you tried git log --pretty --date-order?

提交回复
热议问题