f7ecdae6 by David LaPalomento

pull in the PR head reference

specify the branch to pull from when accepting a PR as-is.
1 parent 6fe0e7a1
......@@ -342,7 +342,7 @@
{ "get": "{{meta.urls.repo_api}}/pulls/{{prNum}}", "desc": "Get the PR information", "id": "pr" },
{ "get": "{{meta.urls.repo_api}}/pulls/{{prNum}}/commits", "desc": "Get the PR commits to access author info", "id": "prCommits" },
[ "git checkout -b {{pr.user.login}}-{{pr.head.ref}} {{pr.base.ref}}", "Create a new branch for merging the changes" ],
[ "git pull {{pr.head.repo.ssh_url}}", "Merge the changes"],
[ "git pull {{pr.head.repo.ssh_url}} {{pr.head.ref}}", "Merge the changes"],
[ "git rebase {{pr.base.ref}}", "Rebase against the base branch"],
[ "git checkout {{pr.base.ref}}", "Check out the base branch" ],
{ "prompt": "text", "id": "line", "desc": "Describe this change in one line" },
......