Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replicate GitHub behaviour with PR templates #1657

Closed
hkdobrev opened this issue Jan 22, 2018 · 0 comments
Closed

Replicate GitHub behaviour with PR templates #1657

hkdobrev opened this issue Jan 22, 2018 · 0 comments

Comments

@hkdobrev
Copy link

hkdobrev commented Jan 22, 2018

When a PR would have a single commit, the commit body is included in the PR body in the editor - both on GitHub.com and with hub pull-request.

When a repository has a PR template, the PR template is included in the PR body in the editor - both on GitHub.com and with hub pull-request.

However, when a PR has a single commit and the repository has a PR template, then GitHub.com puts the commit message at the top and then the template, while hub pull-request puts the template first and the commit body second.

Could hub pull-request exactly replicate GitHub.com behaviour? Thanks!

@mislav mislav closed this as completed in 2e47a2d Jan 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant