File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,20 @@ Create new branch for repo. You can omit oldBranchName to default to "master".
9191repo .branch (oldBranchName, newBranchName, function (err ) {});
9292```
9393
94+ List Pull Requests.
95+
96+ ``` js
97+ var state = ' open' ; // or 'closed', or 'all'
98+ repo .listPulls (state, function (err , pullRequests ) {});
99+ ```
100+
101+ Get details of a Pull Request.
102+
103+ ``` js
104+ var pullRequestID = 123 ;
105+ repo .getPull (pullRequestID, function (err , pullRequestInfo ) {});
106+ ```
107+
94108Create Pull Request.
95109
96110``` js
@@ -103,7 +117,6 @@ var pull = {
103117repo .createPullRequest (pull, function (err , pullRequest ) {});
104118```
105119
106-
107120Retrieve all available branches (aka heads) of a repository.
108121
109122``` js
You can’t perform that action at this time.
0 commit comments