How to test a merge without actually merging first

后端 未结 8 704
孤街浪徒
孤街浪徒 2020-12-22 16:43

Is there any way of simulating a git merge between two branches, the current working branch and the master, but without making any changes?

I often have

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-22 17:11

    Why not just create a throwaway branch (git checkout -b), and do a test merge there?

提交回复
热议问题