How do I diff one branch with my default branch

后端 未结 3 830
一个人的身影
一个人的身影 2021-01-30 19:49

I switched to a branch on my local repo and noticed it gave me message showing x files updated. This surprised me as I didn\'t know there were any differences on that branch. H

3条回答
  •  一生所求
    2021-01-30 20:26

    To view a diff of branch otherbranch with the current branch:

    hg diff -r otherbranch
    

提交回复
热议问题