Skip to content

Commit 809e2fd

Browse files
committed
pull requests should be created between branches
1 parent 120b716 commit 809e2fd

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

content/v3/pulls.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,11 @@ Pass the appropriate [media type](/v3/media/#commits-commit-comparison-and-pull-
8080
Name | Type | Description
8181
-----|------|-------------
8282
`title`|`string` | **Required**. The title of the pull request.
83-
`head`|`string` | **Required**. The branch (or git ref) where your changes are implemented.
84-
`base`|`string` | **Required**. The branch (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**. The name 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**. The name 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.
8585
`body`|`string` | The contents of the pull request.
8686

8787

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`.
90-
9188
#### Example
9289

9390
<%= json \

0 commit comments

Comments
 (0)