Hub: Add support to pull-request template like web interface

Created on 18 Feb 2016  路  7Comments  路  Source: github/hub

Github web interface now will pre-fill the pull-request description with the template named PULL_REQUEST_TEMPLATE. hub pull-request can do this too if no -m or -F is supplied.

refs: https://github.com/blog/2111-issue-and-pull-request-templates

feature pull-request

Most helpful comment

:+1: My interest is for the PULL_REQUEST_TEMPLATE. If not blocking it on the issue revamp is possible I'd be happy.

Our repository just added a mandatory PULL_REQUEST_TEMPLATE and it basically killed my usage of hub :cry:

All 7 comments

hub issue create also for ISSUE_TEMPLATE.

Good idea to bake this into hub. I could look into whether that would be hard to add to hub issue revamp in #1099. Then, the same approach could be adopted for hub pull-request.

Just wanted to express my interest in this issue too - would be a great feature!

:+1: same idea over here too.

:+1: My interest is for the PULL_REQUEST_TEMPLATE. If not blocking it on the issue revamp is possible I'd be happy.

Our repository just added a mandatory PULL_REQUEST_TEMPLATE and it basically killed my usage of hub :cry:

:+1:

Was this page helpful?
0 / 5 - 0 ratings