Reputation: 81
As far as I could find Azure DevOps only allows to review Pull Requests by Update on the PR. I can't find any way to review the commits in the PR such that I could review the commits one by one and have comments showing up in the PR. If I simply leave a comment on a commit, it's a global comment in the repository. Does anyone know of a way to review the commits one by one?
Upvotes: 8
Views: 1163
Reputation: 2740
This is a well-known issue.
Pull requests are designed to create an Update
every time something is pushed to the branch. With some extra steps when creating the PR, this feature can be utilized to allow reviewing the PR commit by commit.
Here are the steps:
Update
in the PR for each commit.When reviewing the PR, go to the Files
tab and open the drop-down called All Changes
. Every commit will be listed there, and you can click them one by one to review each commit individually. Any comments you make in that view are tied to the PR and not the commits.
I really hope Microsoft fixes this issue soon, but hopefully this workaround can help in the meantime. By creating a script for pushing the commits, the process can become quite lean.
Upvotes: 4
Reputation: 31013
You could see the commits for a PR in link https://dev.azure.com/{org}/Git/_git/Git/pullrequest/{id}?_a=commits
, but the comments you add in the commit won't show on the Overview of a PR, you have to click into the commit and check the comments.
Upvotes: 2