Diff between commits in Visual Studio 2015 using git

后端 未结 3 958
醉酒成梦
醉酒成梦 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 18:53

    While not possible in Visual Studio 2015, this functionality will be included in Visual Studio 2017.

    In Visual Studio 2017 it will be possible to get the changes between two different commits. This functionality can be accessed via selecting two commits on the history page and choosing the "Compare Commits..." command:

    This functionality is present in the preview releases of Visual Studio 2017, so you can try it out and see if it is what you are looking for.

提交回复
热议问题