ChairForceOne
ChairForceOne

Reputation: 21

How to add a Reviewer to azure devops pull request using Git Bash

How do I create a pull request with a reviewer name included using Git Bash to Azure DevOps?

I've tried making a pull request in the Azure DevOps UI, but the UI is clunky, and would rather use Git Bash.

Upvotes: 0

Views: 749

Answers (1)

Hugh Lin
Hugh Lin

Reputation: 19371

We could expand the Git aliases with VSTS CLI commands to achieve it.

There is VSTS CLI interface that you can configure the VSTS CLI to add git aliases for common git-based VSTS CLI commands like creating or adding reviewers to pull requests.

Add reviewers to a pull request:

VSTS CLI Command : vsts code pr reviewers add --id # --reviewers {name}

git alias command : git pr reviewers add --id # --reviewers {name}

You can also refer to this guide docs .

Upvotes: 2

Related Questions