Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way to share Github pull request templates between projects?

Github recently announced the addition of pull request templates. This is an awesome feature that has been heavily requested in the community for some time.

These templates are added by including a special file named PULL_REQUEST_TEMPLATE.md to the root of the project or within the .github directory. I have multiple projects for which I would like to use the same template. What is the best way to keep these templates in sync across projects?

(Git submodules are the only thing I can think of, but that seems pretty heavy-handed and complexity-prone for such a simple use case).

like image 869
Austin York Avatar asked Feb 26 '16 01:02

Austin York


1 Answers

Another tricky way might be creating a new organization and configuring organization-wide templates.

like image 135
cema-sp Avatar answered Oct 19 '22 04:10

cema-sp