What is Pull Request (PR)?

What is Pull Request (PR)?

Pradumna Saraf
·Apr 6, 2022·

2 min read

Subscribe to my newsletter and never miss my upcoming articles

Play this article

Table of contents

  • Firstly what is Fork?
  • Creating a Fork:
  • Creating a Pull Request:
  • Creating a good PR
  • "The only repo you need"

Requesting your changes to get added into the original/main repo.

We made changes on Fork and then create a PR from our branch to the main repo.

▶️Changes can be of any type:

▪️Code

▪️Documentation

▪️Design, etc.

Firstly what is Fork?

The fork is making a copy of a repository. So that you can experiment without affecting the original repo.

We can't directly make changes to the others repo, we need to fork it, make changes, and then request them to add those changes to the original.

FORK ➡️ CHANGES ➡️ REQUEST.

Creating a Fork:

Steps:

0) Go on the Repo you want to Fork.

1) Click on the Fork button in the top right corner.

2) Select an account (select account will only pop up if you have an Org account included.)

Here is the Video

Click on Fork.png

Creating a Pull Request:

Steps:

0) Added the changes to the fork by (committing).

1) Click on "Contribute" then "Open Pull Request".

2) Add a description of the problem is solved by this PR.

3) Finally click on "Create Pull Request"

Here is the Video

Untitled design.png

Creating a good PR

✅Make Your PRs Small.

✅Make a Clear Description.

✅Try to add screenshots.

✅Create an issue first (If needed)

✅Linking the Issue number properly (If there).

"The only repo you need"

Aim: To build a GitHub repo and to bring all Bootcamp tweets and materials in one place, which will help the new learners in the future.

Repo Link 👇 (Don't forget to ⭐ the repo).

github.com/Pradumnasaraf/open-source-with-p..

Did you find this article valuable?

Support Pradumna Saraf by becoming a sponsor. Any amount is appreciated!

See recent sponsors Learn more about Hashnode Sponsors
 
Share this