Adding templates for issues and pull requests

In Chapter 7, Enhancing Your Daily Work with Git Hooks, Aliases, and Scripts, we showed how to add templates for commits. A commit template helps the developer to include the relevant information in the commit message. At GitHub, users will create issues and pull requests. It is up to the issue or pull request creator to write a meaningful description.

This recipe will explain to you how to add templates for issues and pull requests. The purpose is to help people to remember to include enough context for you to quickly understand what the issue or pull request is about.

Get Git Version Control Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.