You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`refs/<for|draft|for-review>/<branch>`: The target PR type
36
+
-`origin`: The target repository (not a fork!)
37
+
-`HEAD`: The local branch containing the changes you are proposing
38
+
-`refs/<for|draft|for-review>/<branch>`: The target PR type and configuration
36
39
-`for`: Create a normal PR with `<branch>` as the target branch
37
-
-`draft`/`for-review`: Currently ignored silently
38
-
-`<branch>/<session>`: The target branch to open the PR
40
+
-`draft`/`for-review`: Currently ignored silently
41
+
-`<branch>/`: The branch you want your changes to be merged into
39
42
-`-o <topic|title|description>`: Options for the PR
40
-
-`title`: The PR title
41
-
-`topic`: The branch name the PR should be opened for
42
-
-`description`: The PR description
43
+
-`topic`: The topic of this change. It will become the name of the branch holding the changes waiting for review. This is REQUIRED to trigger a pull request.
44
+
-`title`: The PR title (optional but recommended), only used for topics not already having an associated PR.
45
+
-`description`: The PR description (optional but recommended), only used for topics not already having an associated PR.
43
46
-`force-push`: confirm force update the target branch
44
47
45
48
Here's another advanced example for creating a new PR targeting `main` with `topic`, `title`, and `description`:
0 commit comments