I see documentation here: https://git-scm.com/docs/git-request-pull
But I'm not sure how to apply it to what I'm trying to to do. I pushed to branch called "fix/fixNumberHere" and I want to merge to a branch called "mergeBranch" using a pull request -- how to do I apply that to :
git request-pull [-p] <start> <url> [<end>]
Git Pull Origin Master We can pull the repository by using the git pull command. The syntax is given below: $ git pull <options><remote>/<branchname> $ git pull origin master.
Create Pull Request From the Command Line in GitPull request is supported by Git, enabling us to request a pull from one working area to another through various repositories or branches. The command checks the changes and commits we will do in the feature branch.
Under your repository name, click Pull requests. In the list of pull requests, click the pull request you'd like to modify. To choose where you'd like to open the pull request, select the Open with drop-down and click one of the tabs.
I think you would use this syntax:
git request-pull mergeBranch origin fix/fixNumberHere
^^^ start ^^ url ^^^ end
I think more typically most Git users would create a pull request directly on the remote, e.g. if they were using something like GitHub or BitBucket.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With