Ends in
00
days
00
hrs
00
mins
00
secs
ENROLL NOW

💪 25% OFF on ALL Reviewers to Start Your 2026 Strong with our New Year, New Skills Sale!

GitHub Pull Requests

Home » Others » GitHub Pull Requests

GitHub Pull Requests

Last updated on January 7, 2026

GitHub Pull Requests Cheat Sheet

Pull requests are a structured way to propose and manage code changes within a project. As GitHub’s primary collaboration feature, it provides a dedicated space for reviewing modifications, holding discussions, and requesting improvements before integration. By introducing review checkpoints and shared visibility, pull requests help teams collaborate efficiently, detect problems early, and uphold long-term code quality and project stability.

TD_Pull Requests_06Jan25

Branches

  • When a repository is created on GitHub with initial content, it is initialized with a single branch.

  • This first branch is known as the default branch.

  • The default branch is the branch displayed when someone visits the repository on GitHub.

  • It is also the branch that Git checks out automatically when the repository is cloned.

  • Unless another branch is specified, the default branch serves as the base branch for new commits and pull requests.

  • In new repositories, GitHub names the default branch main.

Tutorials dojo strip

TD_Branches_06Jan25

Creating a Pull Request

  1. Navigate to the repository and select your working branch (head).

  2. Click Compare & pull request.

  3. Choose the base branch to merge into.TD_base branch_06Jan25

  4. Enter a title and description for the PR.

  5. Click Create Pull Request (or Draft PR if not ready for review).TD_Create Pull Request_06Jan25

Notes:

  • Anyone with read access can create a PR.

  • PRs must be between different branches.

  • From local tools (CLI, Desktop), commands like gh pr create help open PRs too.

Reviewing & Commenting

Comment types:
  • Conversation comments: general feedback or questions on the PR’s discussion tab.

  • Code comments: inline comments tied to specific lines in changed files.

  • Suggested changes: reviewers can propose exact change blocks via comments.

  • Resolving conversations: mark a discussion thread as complete when addressed.

Workflow tips:
  • You can batch comments by starting a review, then submitting them together. 

  • Email replies to PR comments are added to the conversation, not as review comments. 

  • GitHub supports mentions (@username), reactions, and formatting in comments.

Pull Request Tabs You’ll See

Each PR includes these key views:

Conversation

Timeline of comments, reviews, and discussion

Commits

List of commits part of the pull request

Files changed

Diff view of exact changes proposed

Checks

Status of CI tests & automated workflows

TD_Pull Request Tabs_06Jan25

 

Conclusion

Pull requests are a foundational part of modern GitHub workflows, providing a structured and transparent way to propose, review, and integrate code changes. By separating work into branches and requiring reviews before merging, pull requests help teams collaborate effectively while minimizing risk to the main codebase. Features such as inline code comments, suggested changes, automated checks, and clear discussion timelines ensure that feedback is actionable and traceable. When used consistently, pull requests not only improve code quality but also strengthen team communication, accountability, and long-term project maintainability.

 

References

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-branches

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests

https://docs.github.com/en/issues/tracking-your-work-with-issues/administering-issues

💪 25% OFF on ALL Reviewers to Start Your 2026 Strong with our New Year, New Skills Sale!

Tutorials Dojo portal

Learn AWS with our PlayCloud Hands-On Labs

$2.99 AWS and Azure Exam Study Guide eBooks

tutorials dojo study guide eBook

New AWS Generative AI Developer Professional Course AIP-C01

AIP-C01 Exam Guide AIP-C01 examtopics AWS Certified Generative AI Developer Professional Exam Domains AIP-C01

Learn GCP By Doing! Try Our GCP PlayCloud

Learn Azure with our Azure PlayCloud

FREE AI and AWS Digital Courses

FREE AWS, Azure, GCP Practice Test Samplers

Subscribe to our YouTube Channel

Tutorials Dojo YouTube Channel

Follow Us On Linkedin

Written by: Ace Kenneth Batacandulo

Ace is AWS Certified, AWS Community Builder, and Cloud Consultant at Tutorials Dojo Pte. Ltd. He is also the Co-Lead Organizer of K8SUG Philippines and a member of the Content Committee for Google Developer Groups Cloud Manila. Ace actively contributes to the tech community through his volunteer work with AWS User Group PH, GDG Cloud Manila, K8SUG Philippines, and Devcon PH. He is deeply passionate about technology and is dedicated to exploring and advancing his expertise in the field.

AWS, Azure, and GCP Certifications are consistently among the top-paying IT certifications in the world, considering that most companies have now shifted to the cloud. Earn over $150,000 per year with an AWS, Azure, or GCP certification!

Follow us on LinkedIn, YouTube, Facebook, or join our Slack study group. More importantly, answer as many practice exams as you can to help increase your chances of passing your certification exams on your first try!

View Our AWS, Azure, and GCP Exam Reviewers Check out our FREE courses

Our Community

~98%
passing rate
Around 95-98% of our students pass the AWS Certification exams after training with our courses.
200k+
students
Over 200k enrollees choose Tutorials Dojo in preparing for their AWS Certification exams.
~4.8
ratings
Our courses are highly rated by our enrollees from all over the world.

What our students say about us?