Closed protoEvangelion closed 5 years ago
Right now the gh pr --fetch --merge cmd will never call our merge handler because of this: https://github.com/node-gh/gh/blob/master/lib/cmds/pull-request.js\#L169
gh pr --fetch --merge
The merge handler only calls git cmds and does not perform a fetch (which is confusing because the docs suggest this is possible).
Ideally we would combine merge/rebase into the fetch cmd. From there, when you call gh pr --fetch, your three options would be:
gh pr --fetch
related: #467
Right now the
gh pr --fetch --merge
cmd will never call our merge handler because of this: https://github.com/node-gh/gh/blob/master/lib/cmds/pull-request.js\#L169The merge handler only calls git cmds and does not perform a fetch (which is confusing because the docs suggest this is possible).
Ideally we would combine merge/rebase into the fetch cmd. From there, when you call
gh pr --fetch
, your three options would be: