az)
with the Azure DevOps extension being installed and authenticated on the
registered host that owns the workspace.
Setup
Before you can create pull requests from Jaidu, you need to install and configure the Azure CLI manually.Install Azure CLI
Follow the official installation instructions for your host operating system:- macOS:
brew install azure-cli - Windows: Download and run the MSI installer from the Azure CLI documentation
- Linux: Use your distribution’s package manager or the install script
Install the Azure DevOps Extension
The Azure DevOps extension adds repository and pull request commands to the Azure CLI. Run the following command:Authenticate
-
Sign in to Azure: Run the following command and follow the prompts to authenticate via the web browser:
-
Configure defaults (optional but recommended): Set your default organization and project to avoid specifying them with each command:
Supported URL Formats
Jaidu supports both modern and legacy Azure DevOps URL formats:- Modern:
https://dev.azure.com/{org}/{project}/_git/{repo} - Legacy:
https://{org}.visualstudio.com/{project}/_git/{repo}
Creating a Pull Request
Once the Azure CLI is ready, you can create pull requests directly from a workspace:- Open a workspace that has changes you want to merge.
- Click the Create PR button.
- Review the pre-filled title, description, and base branch.
- Click Create to open the PR on Azure Repos.