{"action":"opened","issue":{"url":"https://api.github.com/repos/ruv1nce/merge-conflict/issues/1","repository_url":"https://api.github.com/repos/ruv1nce/merge-conflict","labels_url":"https://api.github.com/repos/ruv1nce/merge-conflict/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ruv1nce/merge-conflict/issues/1/comments","events_url":"https://api.github.com/repos/ruv1nce/merge-conflict/issues/1/events","html_url":"https://github.com/ruv1nce/merge-conflict/issues/1","id":421321506,"node_id":"MDU6SXNzdWU0MjEzMjE1MDY=","number":1,"title":"Welcome","user":{"login":"github-learning-lab[bot]","id":37936606,"node_id":"MDM6Qm90Mzc5MzY2MDY=","avatar_url":"https://avatars0.githubusercontent.com/in/10572?v=4","gravatar_id":"","url":"https://api.github.com/users/github-learning-lab%5Bbot%5D","html_url":"https://github.com/apps/github-learning-lab","followers_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/followers","following_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/repos","events_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/received_events","type":"Bot","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-03-15T02:08:24Z","updated_at":"2019-03-15T02:08:24Z","closed_at":null,"author_association":"NONE","body":"## Welcome to Managing Merge Conflicts :tada:\n\nHello, and welcome! If you're here to learn about and practice resolving merge conflicts, you're in the right place.\n\nIn this course, you'll learn why merge conflits happen by solving **four merge conflicts**. All of the merge conflicts in this course will be simple enough to solve from within the GitHub.com user interface, but if you'd prefer, you can solve them using the command line or other local tools.\n\nAs an added bonus, the project we are using for this course is a resume hosted on [GitHub Pages](https://pages.github.com/)! So, if you want to keep working after you complete this course, please feel free!\n\n> Note: You may notice that some branches and pull requests already exist. We'll be using them in later activities in this course.\n\n### How merge conflicts happen\n\n*Version control* lets you make incremental changes to your code or file base while keeping the history. Git operates as a linked list, so a small history of three commits <sup>[:book:](https://help.github.com/articles/github-glossary/#commit)</sup> might look like this:\n\n![three commits in a linked list format](https://user-images.githubusercontent.com/13326548/36703370-32b56354-1b10-11e8-881f-f356838111d4.png)\n\nIn the **GitHub Flow**, you...\n- first create a new branch <sup>[:book:](https://help.github.com/articles/github-glossary/#branch)</sup> off of the base branch, which is really just a reference point to a commit on the base branch. \n\n![add a branch](https://user-images.githubusercontent.com/13326548/36703385-4590b28a-1b10-11e8-90c7-a5ededee0950.png)\n\n- Next, you add one or more commits that, for now, exist only on your branch. The other commits stay fixed to their reference point in history.\n\n![branch with new commit](https://user-images.githubusercontent.com/13326548/36703395-52d2e364-1b10-11e8-9bba-a61d4d72e02b.png)\n\n- Finally, you open a pull request <sup>[:book:](https://help.github.com/articles/github-glossary/#pull-request)</sup> to propose that your new commits be included in the base branch, optionally add more commits, and then merge <sup>[:book:](https://help.github.com/articles/github-glossary/#merge)</sup> and delete your branch!\n\nA **Merge conflict** occurs when someone else made a change on the base branch in the same file and location where you proposed changes. This usually happens when someone else merges in their branch before you merge yours.\n\nThis can be intimidating, but have no fear, Git knows how to handle this! It only needs a human to decide how to resolve the conflict. \n\n## Step 1: Create a Pull Request\n\nBefore we get too far ahead of ourselves, let's first practice making a simple change on a branch. Visualize your actions using the flow you reviewed above.\n\n### :keyboard: Activity: Create a normal pull request\n\n\n1. On the **Code** tab, click the `_data/skills.yml` file\n1. In the upper right corner of the file view, click the :pencil2: icon to open the file editor\n1. In the file, add a skill or two that you're proficient in\n1. Scroll to the bottom of the page and select the option to \"Create a new branch for this commit and start a pull request\"\n1. Replace the default patch branch name with `change-skills`\n1. Select **Propose file change**\n1. In the \"Leave a comment\" field of the pull request, describe the change you made\n1. Click **Create pull request**\n\n1. :construction: Don't merge yet! :construction: Refresh the pull request to receive the next comment/instructions.\n\nFor a printable version of the steps in this course, check out the [Quick Reference Guide](https://lab.github.com/public/managing-merge-conflicts.pdf).\n\n<hr>\n<h3 align=\"center\">Look for my next response in your pull request</h3>\n\n> _Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response from me, wait a few seconds and refresh the page for your next steps._\n"}}
{"actor":{"display_login":"github-learning-lab"}}