Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create pull requests in Git Bash to Azure DevOps

We have ability to create pull requests to GitHub from Git Bash with command hub pull-request. Can I create pull request from Git Bash into Azure DevOps?

like image 480
Damian Ubowski Avatar asked Mar 23 '19 08:03

Damian Ubowski


People also ask

How do you deploy a pull request in Azure DevOps?

You can set up pull request triggers for both Azure Repos or GitHub repositories. From within your project, Select Pipelines > Releases, and then select your release pipeline. Under the Pull request trigger section, select the toggle button to enable it.

How do I transfer code from GitHub to Azure DevOps?

Import into a new repoSelect Repos, Files. From the repo drop-down, select Import repository. If the source repo is publicly available, just enter the clone URL of the source repository and a name for your new Git repository.


1 Answers

Can I create pull request from Git Bash into Azure DevOps?

I think the answer is yes. We could expand the Git aliases with VSTS CLI commands to achieve it.

There is VSTS CLI interface that we could configure to use git aliases including creating pull requests. Also, we could expand the Git aliases with VSTS CLI commands to create pull requests.

For the details, you can check this document:

Visual Studio and Azure DevOps Git: Extend the git command line with server commands–Part 2

Hope this helps.

like image 161
Leo Liu-MSFT Avatar answered Sep 23 '22 01:09

Leo Liu-MSFT