Does anyone know how VSTS creates its list of associated commits for a build?
I'm specifically looking for those created when I create a new branch. Currently it seems to just create a list of the past few commits to the branched from branch.
Ideally what I'd like is something akin to
git log master..<commit hash>.
We were hoping to use this as release documentation by creating a new branch for the release which would contain the full commit history for all work across all branches merged into it but that doesn't seem to be the case.
It includes current commit and previous failed build(s) commits if have. For example:
So, it won’t include all commits.
To get all commits, you can go to Code=>Select file or folder=>Click history, then the history will be listed.
You also could get commits through REST API (as Chirs Melinn said).