Git syntax for pull request on the command line
10,562
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.
Author by
Mike6679
Updated on June 18, 2022Comments
-
Mike6679 almost 2 years
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>]
-
Mike6679 over 6 yearsyes I agree about "most Git users would create a pull request directly on the remote, e.g. if they were using something like GitHub or BitBucket" .....but I'm using Gogs and it doesn't look possible.
-
Mike6679 over 6 yearsActually I did figure out out to initiate a Pull request in Gogs....but command line alternatives are always useful