Workflow My Personal Space 🛰️

GitHub Pull Request Template a faster way to document a PR

29 Oct, 2021
GitHub PullRequest Template

Why do you need a Pull Request Template?

Pull Request(PR) are often when raised are not properly documented. The best way to document them is to use a consistent template. The Template will help the team to document the PR in a concise way. PR reviewer gets an idea about what to expect in a PR.

How to add a GitHub PR Template?

Create a file pull_request_template.md inside a root folder of the repository called ./github

./github/pull_request_template.md

This file is nothing but a template that will be shown on GitHub PR, when the PR is raised.

Sample Template file

## Description
<!-- Please write a brief information about PR, what it contains, its purpose -->

## Link to Jira
<!-- If there is a ticket for this -->

## Screenshots
<!-- Please add screenshots -->

## Testing
<!-- How to test PR -->

Click to Download a sample PR Template.

© 2022 Sameer Kulkarni. All rights reserved.