{"action":"opened","issue":{"url":"https://api.github.com/repos/hectorsector/merge-conflict/issues/5","repository_url":"https://api.github.com/repos/hectorsector/merge-conflict","labels_url":"https://api.github.com/repos/hectorsector/merge-conflict/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/hectorsector/merge-conflict/issues/5/comments","events_url":"https://api.github.com/repos/hectorsector/merge-conflict/issues/5/events","html_url":"https://github.com/hectorsector/merge-conflict/issues/5","id":309157740,"number":5,"title":"Welcome","user":{"login":"galileo-dev-1[bot]","id":36754527,"avatar_url":"https://avatars3.githubusercontent.com/in/9399?v=4","gravatar_id":"","url":"https://api.github.com/users/galileo-dev-1%5Bbot%5D","html_url":"https://github.com/apps/galileo-dev-1","followers_url":"https://api.github.com/users/galileo-dev-1%5Bbot%5D/followers","following_url":"https://api.github.com/users/galileo-dev-1%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/galileo-dev-1%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/galileo-dev-1%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galileo-dev-1%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/galileo-dev-1%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/galileo-dev-1%5Bbot%5D/repos","events_url":"https://api.github.com/users/galileo-dev-1%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/galileo-dev-1%5Bbot%5D/received_events","type":"Bot","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-27T22:34:13Z","updated_at":"2018-03-27T22:34:13Z","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 solve a total of **four merge conflicts**, and you'll understand why merge conflicts happen. 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 to solve them using the command line or other local tools, the course will still work.\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\nVersion control is all about making incremental changes to your code or file base. We'll start with the standard workflow, and add a few pictures to help us form a mental model.\n\nGit operates as a linked list. A small history of three commits 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- create a new branch (which is really just a reference point to a commit)\n\n![add a branch](https://user-images.githubusercontent.com/13326548/36703385-4590b28a-1b10-11e8-90c7-a5ededee0950.png)\n\n- add one or more commits (which occur on that branch only, while 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- and then create a pull request, optionally add more commits, and then merge and delete your branch!\n\nMerge conflicts happen when someone else made a change on the `master` branch in the same file and location where you  were making changes. This usually happens when someone else merges in their branch before you merge yours.\n\nHave no fear, Git knows how to handle this -- and it is why Git creates merge conflicts.\n\n## Step 1: Create a Pull Request\n\nBefore we get too far ahead of ourselves, let's practice making a simple change on a branch. Visualize your actions using the mental model above.\n\n### :keyboard: Activity: Create a normal pull request\n\n1. On the **Code** tab, click the `_data/skills.yml` file\n1. Click the :pencil2: icon to enter edit mode\n1. In the file, add a skill or two that you're proficient in.\n1. Scroll the bottom 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. Write some text in the \"Leave a comment\" field of the pull request\n1. Click **Create pull request**\n1. :construction: Don't merge yet! :construction: Refresh the pull request to receive the next comment/instructions.\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":"galileo-dev-1"}}