{"id":79251,"date":"2024-08-12T06:00:11","date_gmt":"2024-08-12T13:00:11","guid":{"rendered":"https:\/\/github.blog\/?p=79251"},"modified":"2024-08-12T06:36:37","modified_gmt":"2024-08-12T13:36:37","slug":"beginners-guide-to-github-creating-a-pull-request","status":"publish","type":"post","link":"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/","title":{"rendered":"Beginner\u2019s guide to GitHub: Creating a pull request"},"content":{"rendered":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body><p>Welcome back to <a href=\"https:\/\/www.youtube.com\/playlist?list=PL0lo9MOBetEFcp4SCWinBdpml9B2U25-f\">GitHub for Beginners<\/a>, a series designed to help you navigate GitHub with ease.<\/p>\n<p>So far in this series, we&rsquo;ve covered <a href=\"https:\/\/github.blog\/2024-06-10-top-12-git-commands-every-developer-must-know\/\">the top Git commands every developer should know<\/a>, <a href=\"https:\/\/github.blog\/2024-06-24-beginners-guide-to-github-repositories-how-to-create-your-first-repo\/\">how to create repositories<\/a>, <a href=\"https:\/\/github.blog\/2024-07-08-beginners-guide-to-github-uploading-files-and-folders-to-github\/\">how to upload files and folders to your repository<\/a>, and <a href=\"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-adding-code-to-your-repository\/\">how to add code to your repository<\/a>. In our most recent entry, we talked briefly about pull requests, but now we&rsquo;re going to dive into them at depth. This entry is dedicated to showing you how to create a pull request so you can suggest changes to a repository and have others review those changes before committing them.<\/p>\n<p>Let&rsquo;s get started!<\/p>\n<div class=\"mod-vh position-relative\" style=\"height: 0; padding-bottom: calc((9 \/ 16)*100%);\">\n\t\t\t<iframe loading=\"lazy\" class=\"position-absolute top-0 left-0 width-full height-full\" src=\"https:\/\/www.youtube.com\/embed\/nCKdihvneS0?version=3&amp;rel=1&amp;showsearch=0&amp;showinfo=1&amp;iv_load_policy=1&amp;fs=1&amp;hl=en-US&amp;autohide=2&amp;wmode=transparent\" title=\"YouTube video player\" allow=\"accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\" frameborder=\"0\"><\/iframe>\n\t\t<\/div>\n<h2 id=\"what-is-a-pull-request\" id=\"what-is-a-pull-request\" ><a class=\"heading-link\" href=\"#what-is-a-pull-request\">What is a pull request?<span class=\"heading-hash pl-2 text-italic text-bold\" aria-hidden=\"true\"><\/span><\/a><\/h2>\n<p>A pull request (often referred to as &ldquo;PR&rdquo;) is a proposal to merge a set of changes from one branch into another. By creating a pull request, you can review a set of changes with others before they are incorporated into the main code base. Before getting to that, it&rsquo;s helpful to define a couple of terms.<\/p>\n<ul>\n<li><strong>Source branch:<\/strong> the branch containing your changes.<\/li>\n<li><strong>Target branch:<\/strong> the branch you are trying to merge your changes into.<\/li>\n<\/ul>\n<p>Pull requests provide a visual representation of the differences in the content between the source branch and the target branch. This is what enables you to review the changes before accepting them and pulling them into the target branch.<\/p>\n<h2 id=\"creating-your-pull-request\" id=\"creating-your-pull-request\" ><a class=\"heading-link\" href=\"#creating-your-pull-request\">Creating your pull request<span class=\"heading-hash pl-2 text-italic text-bold\" aria-hidden=\"true\"><\/span><\/a><\/h2>\n<p>You can create a pull request on GitHub.com with <a href=\"https:\/\/github.com\/apps\/desktop\">GitHub Desktop<\/a>, <a href=\"https:\/\/github.com\/features\/codespaces\">GitHub Codespaces<\/a>, on <a href=\"https:\/\/github.com\/mobile\">GitHub Mobile<\/a>, and when using the <a href=\"https:\/\/cli.github.com\/\">GitHub CLI<\/a>. You can also create a pull request from the terminal using <code>git<\/code>, which is what we&rsquo;ll do here.<\/p>\n<p>On GitHub, navigate to your repository, clone it, and create a new branch. If you need a refresher for any of these steps, refer to the earlier <a href=\"https:\/\/www.youtube.com\/playlist?list=PL0lo9MOBetEFcp4SCWinBdpml9B2U25-f\">GitHub for Beginners<\/a> entries. For the purposes of this walkthrough, we created a new branch in our repository called <strong>update-name<\/strong>. After creating this branch, open your terminal and run <code>git checkout -b update-name<\/code> to navigate to the <strong>update-name<\/strong> branch.<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/1-create-new-branch.png?w=1024&#038;resize=1024%2C615\" alt='terminal showing the git command \"git checkout -b update-name\"' width=\"1024\" height=\"615\" class=\"aligncenter size-large wp-image-79255 width-fit\" srcset=\"https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/1-create-new-branch.png?w=1137 1137w, https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/1-create-new-branch.png?w=300 300w, https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/1-create-new-branch.png?w=768 768w, https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/1-create-new-branch.png?w=1024 1024w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p>Open a file in the repository in your editor, and make a change. In our case, we made a change to the <em>index.html<\/em> file. Don&rsquo;t forget to save the file!<\/p>\n<p>Stage and then commit your changes by running the following commands in the terminal:<\/p>\n<pre><code>git add .\ngit commit -m \"update game name\"\n<\/code><\/pre>\n<p>Once these commands are complete, run <code>git status<\/code> to ensure that the changes were successfully committed. If they were, you should see a message indicating that there is nothing to commit and your working tree is clean. Awesome!<\/p>\n<p>Now you will need to push your changes to the repository on GitHub. You do this by running <code>git push origin update-name<\/code> in the terminal. Remember that if you used a different name for your branch, you will need to replace <code>update-name<\/code> with the name of your branch: <code>git push origin your-branch-name<\/code>.<\/p>\n<div style=\"width: 1136px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-79251-1\" width=\"1136\" height=\"682\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/2-push-code.mp4#t=0.001?_=1\" \/><a href=\"https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/2-push-code.mp4#t=0.001\">https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/2-push-code.mp4#t=0.001<\/a><\/video><\/div>\n<p>Navigate to GitHub, and you should see a message indicating that your branch had recent pushes a short while ago. Click the green button that says &ldquo;Compare &amp; pull request.&rdquo; This will take you to the pull request page, where you can enter the information for your pull request.<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/3-compare_pr_btn.png?w=1024&#038;resize=1024%2C569\" alt='on GitHub dot com with a message that says \"update-name had recent pushes 2 seconds ago\" with a green compare and pull request button' width=\"1024\" height=\"569\" class=\"aligncenter size-large wp-image-79257 width-fit\" srcset=\"https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/3-compare_pr_btn.png?w=1527 1527w, https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/3-compare_pr_btn.png?w=300 300w, https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/3-compare_pr_btn.png?w=768 768w, https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/3-compare_pr_btn.png?w=1024 1024w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p>In the top left of the page is a dropdown button that says &ldquo;base:&rdquo; followed by a branch name. Most likely, this will say &ldquo;base: <strong>main<\/strong>.&rdquo; This indicates the branch that you want to merge the changes into, otherwise known as the target branch. Click the button and select &ldquo;main&rdquo; if it isn&rsquo;t already selected.<\/p>\n<p>The dropdown box to the immediate right of the &ldquo;base:&rdquo; box is the &ldquo;compare:&rdquo; box. This indicates the branch that you are merging from, otherwise known as the source branch. Click this box and select the branch where you made your changes.<\/p>\n<div style=\"width: 1526px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-79251-2\" width=\"1526\" height=\"848\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/4-openpr-branches.mp4#t=0.001?_=2\" \/><a href=\"https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/4-openpr-branches.mp4#t=0.001\">https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/4-openpr-branches.mp4#t=0.001<\/a><\/video><\/div>\n<p>After making sure the target and source branches are set correctly, add a title and a description for the pull request. The description should explain the changes that you made. If you are not ready for your changes to be reviewed, you can create a draft pull request. Or you can create a pull request for review by pressing the green &ldquo;Create pull request&rdquo; button. Do that now.<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/5-create-pr-btn.png?w=1024&#038;resize=1024%2C569\" alt=\"mouse over the green Create Pull Request button on GitHub dot com Pull Request page\" width=\"1024\" height=\"569\" class=\"aligncenter size-large wp-image-79259 width-fit\" srcset=\"https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/5-create-pr-btn.png?w=1527 1527w, https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/5-create-pr-btn.png?w=300 300w, https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/5-create-pr-btn.png?w=768 768w, https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/5-create-pr-btn.png?w=1024 1024w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p>Congratulations! You&rsquo;ve created your pull request! Now, you can have someone else on the team review your changes. Once they have provided a review, you can merge your changes into the target branch by clicking the green &ldquo;Merge pull request&rdquo; button at the bottom of the page.<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/6-merge-btn.png?w=1024&#038;resize=1024%2C569\" alt=\"mouse over the green Merge Pull Request button on GitHub dot com Pull Request page\" width=\"1024\" height=\"569\" class=\"aligncenter size-large wp-image-79260 width-fit\" srcset=\"https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/6-merge-btn.png?w=1527 1527w, https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/6-merge-btn.png?w=300 300w, https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/6-merge-btn.png?w=768 768w, https:\/\/github.blog\/wp-content\/uploads\/2024\/08\/6-merge-btn.png?w=1024 1024w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<h2 id=\"things-to-keep-in-mind\" id=\"things-to-keep-in-mind\" ><a class=\"heading-link\" href=\"#things-to-keep-in-mind\">Things to keep in mind<span class=\"heading-hash pl-2 text-italic text-bold\" aria-hidden=\"true\"><\/span><\/a><\/h2>\n<p>When you create pull requests going forward, here are a few best practices you should keep in mind.<\/p>\n<ol>\n<li><strong>Write small pull requests.<\/strong> Smaller pull requests are easier and faster to review and merge, provide less room to introduce bugs, and provide a clearer history of changes.<\/li>\n<li><strong>Review your own pull request first.<\/strong> Review, build, and test your own pull request before submitting it. This will allow you to catch errors or typos that you may have missed before others start reviewing it.<\/li>\n<li><strong>Provide context and guidance.<\/strong> Write clear titles and descriptions for your pull requests so reviewers can quickly understand what the pull request does. You should include the following in the body of your pull request:\n<ul>\n<li>The purpose of the pull request<\/li>\n<li>An overview of what changed<\/li>\n<li>Links to any additional context such as tracking issues, tickets, or previous conversations<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h2 id=\"your-next-steps\" id=\"your-next-steps\" ><a class=\"heading-link\" href=\"#your-next-steps\">Your next steps<span class=\"heading-hash pl-2 text-italic text-bold\" aria-hidden=\"true\"><\/span><\/a><\/h2>\n<p>Now that you can create pull requests, you can use <a href=\"https:\/\/github.com\/LadyKerr\/catch-the-cat-game\">this repository<\/a> to practice creating them. Once you feel comfortable creating pull requests, you have the power to suggest changes to existing repositories and offer your own contributions for consideration. It&rsquo;s an excellent way to collaborate, so give it a shot!<\/p>\n<p>If you have any questions, pop them in the <a href=\"https:\/\/gh.io\/learn-git\">GitHub Community thread<\/a> and we&rsquo;ll be sure to respond.<\/p>\n<p>Here are some more resources to help you on your GitHub journey:<\/p>\n<ul>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/collections\/o1njfe825p602p\">GitHub Foundations Certificate<\/a><\/li>\n<li><a href=\"https:\/\/docs.github.com\/pull-requests\/collaborating-with-pull-requests\/proposing-changes-to-your-work-with-pull-requests\/about-pull-requests\">About pull requests<\/a><\/li>\n<li><a href=\"https:\/\/docs.github.com\/pull-requests\/collaborating-with-pull-requests\/proposing-changes-to-your-work-with-pull-requests\/creating-a-pull-request\">Creating a pull request<\/a><\/li>\n<li><a href=\"https:\/\/docs.github.com\/pull-requests\/collaborating-with-pull-requests\/incorporating-changes-from-a-pull-request\/merging-a-pull-request\">Merging a pull request<\/a><\/li>\n<li><a href=\"https:\/\/docs.github.com\/pull-requests\/collaborating-with-pull-requests\/proposing-changes-to-your-work-with-pull-requests\/requesting-a-pull-request-review\">Requesting a pull request review<\/a><\/li>\n<\/ul>\n<\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>As part of the GitHub for Beginners guide, learn how to create pull requests. This will enable you to suggest changes to existing repositories.<\/p>\n","protected":false},"author":2041,"featured_media":78179,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_gh_post_show_toc":"yes","_gh_post_is_no_robots":"no","_gh_post_is_featured":"yes","_gh_post_is_excluded":"no","_gh_post_is_unlisted":"no","_gh_post_related_link_1":"","_gh_post_related_link_2":"","_gh_post_related_link_3":"","_gh_post_sq_img":"https:\/\/github.blog\/wp-content\/uploads\/2024\/06\/Professortocat_v2.png","_gh_post_sq_img_id":"78333","_gh_post_cta_title":"","_gh_post_cta_text":"","_gh_post_cta_link":"","_gh_post_cta_button":"Click Here to Learn More","_gh_post_recirc_hide":"no","_gh_post_recirc_col_1":"78957","_gh_post_recirc_col_2":"78959","_gh_post_recirc_col_3":"78961","_gh_post_recirc_col_4":"77524","_featured_video":"","_gh_post_additional_query_params":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"_links_to":"","_links_to_target":""},"categories":[3298,3302],"tags":[3286,2840],"coauthors":[2854],"class_list":["post-79251","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developer-skills","category-github","tag-github-for-beginners","tag-pull-requests"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Beginner\u2019s guide to GitHub: Creating a pull request - The GitHub Blog<\/title>\n<meta name=\"description\" content=\"As part of the GitHub for Beginners guide, learn how to create pull requests. This will enable you to suggest changes to existing repositories.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Beginner\u2019s guide to GitHub: Creating a pull request\" \/>\n<meta property=\"og:description\" content=\"As part of the GitHub for Beginners guide, learn how to create pull requests. This will enable you to suggest changes to existing repositories.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/\" \/>\n<meta property=\"og:site_name\" content=\"The GitHub Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-12T13:00:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-12T13:36:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/github.blog\/wp-content\/uploads\/2024\/05\/GitHub-for-beginners.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"840\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Kedasha Kerr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kedasha Kerr\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/github.blog\\\/developer-skills\\\/github\\\/beginners-guide-to-github-creating-a-pull-request\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/github.blog\\\/developer-skills\\\/github\\\/beginners-guide-to-github-creating-a-pull-request\\\/\"},\"author\":{\"name\":\"Kedasha Kerr\",\"@id\":\"https:\\\/\\\/github.blog\\\/#\\\/schema\\\/person\\\/c7307d5b9eb99168bed497b7e6b0a950\"},\"headline\":\"Beginner\u2019s guide to GitHub: Creating a pull request\",\"datePublished\":\"2024-08-12T13:00:11+00:00\",\"dateModified\":\"2024-08-12T13:36:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/github.blog\\\/developer-skills\\\/github\\\/beginners-guide-to-github-creating-a-pull-request\\\/\"},\"wordCount\":1013,\"image\":{\"@id\":\"https:\\\/\\\/github.blog\\\/developer-skills\\\/github\\\/beginners-guide-to-github-creating-a-pull-request\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/github.blog\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/GitHub-for-beginners.png?fit=1600%2C840\",\"keywords\":[\"GitHub for beginners\",\"pull requests\"],\"articleSection\":[\"Developer skills\",\"GitHub\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/github.blog\\\/developer-skills\\\/github\\\/beginners-guide-to-github-creating-a-pull-request\\\/\",\"url\":\"https:\\\/\\\/github.blog\\\/developer-skills\\\/github\\\/beginners-guide-to-github-creating-a-pull-request\\\/\",\"name\":\"Beginner\u2019s guide to GitHub: Creating a pull request - The GitHub Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/github.blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/github.blog\\\/developer-skills\\\/github\\\/beginners-guide-to-github-creating-a-pull-request\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/github.blog\\\/developer-skills\\\/github\\\/beginners-guide-to-github-creating-a-pull-request\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/github.blog\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/GitHub-for-beginners.png?fit=1600%2C840\",\"datePublished\":\"2024-08-12T13:00:11+00:00\",\"dateModified\":\"2024-08-12T13:36:37+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/github.blog\\\/#\\\/schema\\\/person\\\/c7307d5b9eb99168bed497b7e6b0a950\"},\"description\":\"As part of the GitHub for Beginners guide, learn how to create pull requests. This will enable you to suggest changes to existing repositories.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/github.blog\\\/developer-skills\\\/github\\\/beginners-guide-to-github-creating-a-pull-request\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/github.blog\\\/developer-skills\\\/github\\\/beginners-guide-to-github-creating-a-pull-request\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/github.blog\\\/developer-skills\\\/github\\\/beginners-guide-to-github-creating-a-pull-request\\\/#primaryimage\",\"url\":\"https:\\\/\\\/github.blog\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/GitHub-for-beginners.png?fit=1600%2C840\",\"contentUrl\":\"https:\\\/\\\/github.blog\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/GitHub-for-beginners.png?fit=1600%2C840\",\"width\":1600,\"height\":840},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/github.blog\\\/developer-skills\\\/github\\\/beginners-guide-to-github-creating-a-pull-request\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/github.blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Developer skills\",\"item\":\"https:\\\/\\\/github.blog\\\/developer-skills\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"GitHub\",\"item\":\"https:\\\/\\\/github.blog\\\/developer-skills\\\/github\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Beginner\u2019s guide to GitHub: Creating a pull request\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/github.blog\\\/#website\",\"url\":\"https:\\\/\\\/github.blog\\\/\",\"name\":\"The GitHub Blog\",\"description\":\"Updates, ideas, and inspiration from GitHub to help developers build and design software.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/github.blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/github.blog\\\/#\\\/schema\\\/person\\\/c7307d5b9eb99168bed497b7e6b0a950\",\"name\":\"Kedasha Kerr\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f7068adc72a5044fad52dad7d2a26c374860c1e491761f8ec5cf7750152f4adb?s=96&d=mm&r=g76275409088bcdfde49439d0290b472b\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f7068adc72a5044fad52dad7d2a26c374860c1e491761f8ec5cf7750152f4adb?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f7068adc72a5044fad52dad7d2a26c374860c1e491761f8ec5cf7750152f4adb?s=96&d=mm&r=g\",\"caption\":\"Kedasha Kerr\"},\"description\":\"Kedasha is a Developer Advocate at GitHub where she enjoys sharing the lessons she's learned with the wider developer community. She finds joy in helping others learn about the tech industry and loves sharing her experience as a software developer. Find her online @itsthatladydev.\",\"url\":\"https:\\\/\\\/github.blog\\\/author\\\/ladykerr\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Beginner\u2019s guide to GitHub: Creating a pull request - The GitHub Blog","description":"As part of the GitHub for Beginners guide, learn how to create pull requests. This will enable you to suggest changes to existing repositories.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/","og_locale":"en_US","og_type":"article","og_title":"Beginner\u2019s guide to GitHub: Creating a pull request","og_description":"As part of the GitHub for Beginners guide, learn how to create pull requests. This will enable you to suggest changes to existing repositories.","og_url":"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/","og_site_name":"The GitHub Blog","article_published_time":"2024-08-12T13:00:11+00:00","article_modified_time":"2024-08-12T13:36:37+00:00","og_image":[{"width":1600,"height":840,"url":"https:\/\/github.blog\/wp-content\/uploads\/2024\/05\/GitHub-for-beginners.png","type":"image\/png"}],"author":"Kedasha Kerr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kedasha Kerr","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/#article","isPartOf":{"@id":"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/"},"author":{"name":"Kedasha Kerr","@id":"https:\/\/github.blog\/#\/schema\/person\/c7307d5b9eb99168bed497b7e6b0a950"},"headline":"Beginner\u2019s guide to GitHub: Creating a pull request","datePublished":"2024-08-12T13:00:11+00:00","dateModified":"2024-08-12T13:36:37+00:00","mainEntityOfPage":{"@id":"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/"},"wordCount":1013,"image":{"@id":"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/#primaryimage"},"thumbnailUrl":"https:\/\/github.blog\/wp-content\/uploads\/2024\/05\/GitHub-for-beginners.png?fit=1600%2C840","keywords":["GitHub for beginners","pull requests"],"articleSection":["Developer skills","GitHub"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/","url":"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/","name":"Beginner\u2019s guide to GitHub: Creating a pull request - The GitHub Blog","isPartOf":{"@id":"https:\/\/github.blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/#primaryimage"},"image":{"@id":"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/#primaryimage"},"thumbnailUrl":"https:\/\/github.blog\/wp-content\/uploads\/2024\/05\/GitHub-for-beginners.png?fit=1600%2C840","datePublished":"2024-08-12T13:00:11+00:00","dateModified":"2024-08-12T13:36:37+00:00","author":{"@id":"https:\/\/github.blog\/#\/schema\/person\/c7307d5b9eb99168bed497b7e6b0a950"},"description":"As part of the GitHub for Beginners guide, learn how to create pull requests. This will enable you to suggest changes to existing repositories.","breadcrumb":{"@id":"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/#primaryimage","url":"https:\/\/github.blog\/wp-content\/uploads\/2024\/05\/GitHub-for-beginners.png?fit=1600%2C840","contentUrl":"https:\/\/github.blog\/wp-content\/uploads\/2024\/05\/GitHub-for-beginners.png?fit=1600%2C840","width":1600,"height":840},{"@type":"BreadcrumbList","@id":"https:\/\/github.blog\/developer-skills\/github\/beginners-guide-to-github-creating-a-pull-request\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/github.blog\/"},{"@type":"ListItem","position":2,"name":"Developer skills","item":"https:\/\/github.blog\/developer-skills\/"},{"@type":"ListItem","position":3,"name":"GitHub","item":"https:\/\/github.blog\/developer-skills\/github\/"},{"@type":"ListItem","position":4,"name":"Beginner\u2019s guide to GitHub: Creating a pull request"}]},{"@type":"WebSite","@id":"https:\/\/github.blog\/#website","url":"https:\/\/github.blog\/","name":"The GitHub Blog","description":"Updates, ideas, and inspiration from GitHub to help developers build and design software.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/github.blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/github.blog\/#\/schema\/person\/c7307d5b9eb99168bed497b7e6b0a950","name":"Kedasha Kerr","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f7068adc72a5044fad52dad7d2a26c374860c1e491761f8ec5cf7750152f4adb?s=96&d=mm&r=g76275409088bcdfde49439d0290b472b","url":"https:\/\/secure.gravatar.com\/avatar\/f7068adc72a5044fad52dad7d2a26c374860c1e491761f8ec5cf7750152f4adb?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f7068adc72a5044fad52dad7d2a26c374860c1e491761f8ec5cf7750152f4adb?s=96&d=mm&r=g","caption":"Kedasha Kerr"},"description":"Kedasha is a Developer Advocate at GitHub where she enjoys sharing the lessons she's learned with the wider developer community. She finds joy in helping others learn about the tech industry and loves sharing her experience as a software developer. Find her online @itsthatladydev.","url":"https:\/\/github.blog\/author\/ladykerr\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/github.blog\/wp-content\/uploads\/2024\/05\/GitHub-for-beginners.png?fit=1600%2C840","jetpack_shortlink":"https:\/\/wp.me\/pamS32-kCf","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/posts\/79251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/users\/2041"}],"replies":[{"embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/comments?post=79251"}],"version-history":[{"count":5,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/posts\/79251\/revisions"}],"predecessor-version":[{"id":79253,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/posts\/79251\/revisions\/79253"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/media\/78179"}],"wp:attachment":[{"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/media?parent=79251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/categories?post=79251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/tags?post=79251"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/coauthors?post=79251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}