Can we create pull request through terminal or command prompt? Is there any command which we can run to create pull request and merge for:
- Git
- Gitlab
- Azure
If anyone has an idea, please share it.
Can we create pull request through terminal or command prompt? Is there any command which we can run to create pull request and merge for:
If anyone has an idea, please share it.
2020: Git itself would not create a pull request to GitLab.
Beside the API call mentioned by ElpieKay, you also have the more convenient CLI glab, and its commands:
glab mr create
command.glab mr merge
Its latest release includes that client already pre-compiled for various platform, so you should be able to drop it in your Azure environment.
Update Dec. 2022: the project is now gitlab-org/cli
, and the documentation: glab mr create
.
See "How to create a GitLab merge request via command line" for the official integration.