Diff between commits in Visual Studio 2015 using git

后端 未结 3 908
醉酒成梦
醉酒成梦 2021-01-07 18:20

Using Visual Studio 2015 Update 2 and git as source control, how do you diff between 2 commits on a branch? Note that I am not talking about diff on the granular fil

3条回答
  •  天命终不由人
    2021-01-07 19:16

    Don't know about VS 2015 update 2. But, in update 3, you can...

    1) Right click a commit from history and select View Commit Details from the context menu

    2) Right click the file you want to look at and select Compare with Previous from the context menu.

    3) View diff window...

    (Don't think you can get diff with two non-consecutive commits.)

提交回复
热议问题