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
Copy file name to clipboardExpand all lines: content/v3/pulls.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,14 +80,11 @@ Pass the appropriate [media type](/v3/media/#commits-commit-comparison-and-pull-
80
80
Name | Type | Description
81
81
-----|------|-------------
82
82
`title`|`string` |**Required**. The title of the pull request.
83
-
`head`|`string` |**Required**. Thebranch (or git ref) where your changes are implemented.
84
-
`base`|`string` |**Required**. Thebranch (or git ref) you want your changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository.
83
+
`head`|`string` |**Required**. Thename of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace`head` with a user like this:`username:branch`.
84
+
`base`|`string` |**Required**. Thename of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository.
85
85
`body`|`string` | The contents of the pull request.
86
86
87
87
88
-
NOTE:`head` and`base` can be either a sha or a branch name. Typically you
89
-
would namespace`head` with a user like this:`username:branch`.