GitHub adds templates for Pull Requests and Issues to help push projects forward

GitHub adds templates for Pull Requests and Issues to help push projects forward

GitHub is great for pushing a big project forward, but not always great to get everyone on the same track. That’s why the company is introducing templates.

The goal is to help everyone move in the same direction, and encourage those contributing to projects to provide the right info.

Here’s the how-to on using templates from GitHub’s announcement:

To add an Issue template to a repository create a file called ISSUE_TEMPLATE in the root directory. A file extension is optional, but Markdown files (.md) are supported. Markdown support makes it easy to add things like headings, links, @-mentions, and task lists to your templates.

Pull Request templates follows the same pattern: add a file called PULL_REQUEST_TEMPLATE to the root directory of your repository.

If you’re worried about the added clutter in the root directory of your project, we also added support for a .github/ folder. You can put,, files in .github/ and everything will work as expected.

The feature is a direct response to user requests, and is something GitHub says will be the first of many improvements to Issues and Pull Requests.

GitHub’s head of open source, Brandon Keepers, says “we care deeply about making the experience on GitHub better for open source maintainers, and we’re focused on rolling out features that are important to this community.”

He went on to say we should expect more features to roll out soon “aimed at open source maintainers.”

Issue and Pull Request templates [GitHub]

Read next: Apple is issuing $1.5 billion in bonds to help the company go green

Corona coverage

Read our daily coverage on how the tech industry is responding to the coronavirus and subscribe to our weekly newsletter Coronavirus in Context.

For tips and tricks on working remotely, check out our Growth Quarters articles here or follow us on Twitter.