GitHub Pull Requests Simplified

Gaurab Roy
2 min readNov 13, 2023

--

GitHub pull request is like asking someone to review and approve changes you’ve made to a project on GitHub. Imagine you and a friend are working on a document. You create a copy, make some edits, and then ask your friend to look at the changes and decide if they’re good. In GitHub, this process is formalized as a pull request.

GitHub Logo

Here’s a breakdown:

  1. You Fork a Project: Forking is like making your own copy of someone else’s project.
  2. Make Changes: You make changes or improvements to the project in your forked copy.
  3. Pull Request: When you’re done with your changes and want to suggest that the original project should include them, you send a pull request. It’s like saying, “Hey, I’ve made some cool changes in my copy. Would you like to pull (merge) them into your original project?”
  4. Review and Discussion: The owner of the original project (or other collaborators) reviews your changes. They can comment on specific parts, ask questions, and discuss the modifications.
  5. Merge or Reject: The owner of the original project can then decide to merge your changes into the main project (accept the pull request) or reject them if they think the changes aren’t suitable.

Conclusion: So, in essence, a pull request is a way for people to collaborate on a project, discuss changes, and decide whether to incorporate those changes into the main version of the project.

--

--

Gaurab Roy
Gaurab Roy

No responses yet