Reputation: 95
In Visual Studio 2017, I have a project using Git and would like to generate a list of all changed files within a branch as compared to the master branch. If a file were modified in many commits, it should be listed only once.
I have no preference on how the list is output, so long as I can read it.
If this cannot be accomplished in Visual Studio 2017 directly or with a compatible extension, I would be interested in using a third-party tool if one exists.
Upvotes: 2
Views: 761
Reputation: 391336
This should do it:
git diff --name-only BRANCH master
It will output a list of files that are different between the two branches, relative to the root of the repository.
Upvotes: 1