GIT SERIES — Git PR Template

Anil R
Nov 15, 2024

--

To use the pull request (PR) template, you need to create a file in your repository. Here’s how to do it:

  • File Name: pull_request_template.md
  • File Location: Place it in one of the following locations in your repository:
  • .github/ directory (preferred method)
.github/pull_request_template.md

Steps to Set Up

  1. Create the .github Directory (if it doesn’t already exist):
  • Navigate to the root of your repository.
  • Create a directory named .github.

2. Add the Template:

  • Create a new file named pull_request_template.md inside the .github/ directory.
  • Paste the Markdown content you want to use as the PR template.

Example: Following is the example for PR template.

--

--

Anil R
Anil R

Written by Anil R

Full Stack Developer with 15 years experience.

No responses yet