My azure devops PR was rejected, but how do I fix it? This seems simple, but I can't find an answer online.
To resolve I have to add a few code files and remove some changes. Do I just make the requested changes on the branch and PR again? The PR was 99% correct so I wouldn't want to abandon it. Do I have to abandon the original PR first?
CodePudding user response:
If you make additional commits on your local branch, then push those changes to the remote, it will update the existing pull request with an update. In some cases, in-line comments about specific code will get updated (if you had a misspelling on a variable name or error message for example).
Reviewers can browse individual updates from the pull request UI. You can see an example of how that works in the documentation.
So, fix the review items on your branch and push the changes.