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
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.
In Visual Studio 2015, to get a diff with two non-consecutive commits:
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.)