Introduction to pull requests
You’re working on a one-page portfolio website with your friends. Each of you has different ideas and contributions to make the website look great, like a group of artists working on a big mural. Now, how do you make sure everyone’s ideas fit well together and the mural ends up looking awesome? That’s where GitHub pull requests come in! Figure 3.9 shows how pull requests appear on GitHub:
Figure 3.9 – Managing pull requests on GitHub
What are pull requests?
Basically, a pull request is a request to merge code changes. A pull request is like asking the team, “Hey, can we add my blog page to the website?”
It’s a way to discuss changes: before the team agrees, they’ll look at your blog page, give suggestions, or say it’s perfect as is.
Using pull requests in your website project
Suppose you’ve created a new section for your website, such as an About...