Y
Y
YellowRound2021-06-03 17:45:37
git
YellowRound, 2021-06-03 17:45:37

How to create a pull request from the console?

How to create a pull request from the console?
And what does the team do
$ git request-pull master origin
? we create a feature branch, make the first commit in it, push it to the server, but it’s not clear how to create a merge request with the master from the console (

The documentation says:

Generate a request asking your upstream project to pull changes into their tree. The request, printed to the standard output, begins with the branch description, summarizes the changes and indicates from where they can be pulled.
The upstream project is expected to have the commit named by and the output asks it to integrate the changes you made since that commit, up to the commit named by , by visiting the repository named by .

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Shitskov, 2021-06-03
@YellowRound

There is no such possibility. git request-pull and pull-request/mrege-request are different concepts.
git request-pull generates the difference between commits and can send it to the mail.
Here are the options for creating an MR https://docs.gitlab.com/ee/user/project/merge_requ...

T
Tatyana, 2021-07-08
@mollinne

I installed the cli for the command line https://cli.github.com/
being in the feature branch with the command gh pr create you can create a pullRequest

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question