{"action":"created","issue":{"url":"https://api.github.com/repos/hectorsector/github-move/issues/1","repository_url":"https://api.github.com/repos/hectorsector/github-move","labels_url":"https://api.github.com/repos/hectorsector/github-move/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/hectorsector/github-move/issues/1/comments","events_url":"https://api.github.com/repos/hectorsector/github-move/issues/1/events","html_url":"https://github.com/hectorsector/github-move/issues/1","id":301257178,"number":1,"title":"Planning the move to GitHub","user":{"login":"hectorsector-bananas[bot]","id":29761101,"avatar_url":"https://avatars1.githubusercontent.com/u/16547949?v=4","gravatar_id":"","url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D","html_url":"https://github.com/apps/hectorsector-bananas","followers_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/followers","following_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/repos","events_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/received_events","type":"Bot","site_admin":false},"labels":[{"id":852176655,"url":"https://api.github.com/repos/hectorsector/github-move/labels/migration","name":"migration","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-01T02:35:21Z","updated_at":"2018-03-01T02:35:30Z","closed_at":null,"author_association":"NONE","body":"## Planning your move\n\nYou have a few options when moving your project to GitHub. This course will expose you to these options, help you choose a path, and then guide you down the path you have selected.\n\nI know some people like to get straight to the point while others like more information. For those who like more information, be sure to check out the drop-downs like this one :arrow_down:\n\n<details>\n  <summary>Why move to GitHub?</summary>\n  <hr>\n  \n  ### Why move to GitHub?\n\n  You may be wondering what this GitHub thing is all about and why you should use it. If this sounds like you, here are a few reasons to make GitHub your project's new home:\n\n  - **Version control** — Everything on GitHub is stored in [Git](http://git-scm.com), the best version control system around. Version control allows you to experiment and make mistakes in code without messing up your final product.\n  - **Keep your code in one place** — Whether you work on multiple computers or just want to get some important projects off your computer, GitHub is the perfect place to store your projects online.\n  - **Collaboration** — Once your code is on GitHub, you can invite others to work on your code with you, share it with the world, or send a link to a friend to help you debug a problem.\n\n  <hr>\n</details>\n\n### Where is your project today?\n\nTo give you the best information, I need to know a little about your project. In the next activity, you will apply a label to this issue to help me provide the most applicable information to help you move a project to GitHub.\n\n### :keyboard: Activity: Add a label to this Issue\n\nFor this exercise, use the following table to determine which label to apply to this issue.\n\n| If your project is ... | Add the label |\n| -------- | --------- |\n| On your local machine | `local` |\n| On a different website that includes version control | `migration` |\n| On another website without version control (e.g. CodePen) | `other` |\n\n1. On the right side of this issue, look for a section titled **Labels**\n1. Click the :gear: gear icon\n1. Select the label that describes your project\n1. Click the :heavy_multiplication_x: **x** at the top of the label panel when you are finished\n\n> After you have added the label, I will add a new comment to this issue with next steps.\n\n:robot: I'm waiting for you to add a label before moving on."},"comment":{"url":"https://api.github.com/repos/hectorsector/github-move/issues/comments/369454799","html_url":"https://github.com/hectorsector/github-move/issues/1#issuecomment-369454799","issue_url":"https://api.github.com/repos/hectorsector/github-move/issues/1","id":369454799,"user":{"login":"hectorsector-bananas[bot]","id":29761101,"avatar_url":"https://avatars1.githubusercontent.com/u/16547949?v=4","gravatar_id":"","url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D","html_url":"https://github.com/apps/hectorsector-bananas","followers_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/followers","following_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/repos","events_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/hectorsector-bananas%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-03-01T02:35:30Z","updated_at":"2018-03-01T02:35:30Z","author_association":"NONE","body":"## Moving from other version control systems\n\nIf you are moving from another version control system such as Mercurial, Subversion, or another Git platform, you will need to make a few decisions:\n\n1. Do you need all of the history?\n2. Is there project data that lives outside of Git you need to preserve? (ex: Issues, Discussions, Pull Requests)\n\n### Should you keep all of the history?\n\nIf you are moving your project to GitHub as a public project, you may want to consider what is in your history. For example:\n\n- Is there sensitive information in historical commit messages?\n- Do you want to use [private email addresses](https://help.github.com/articles/setting-your-commit-email-address-on-github/) on GitHub?\n\nIf you do want to keep the history, check out the **Using the GitHub Importer** section under Next steps.\n\n### You don't want all of this history\n\nYou can also do a clean cutover to \"restart\" version control and remove any unwanted history. If this sounds like the right option for you, check out the **Doing a clean cutover** section under Next steps.\n\n### Should you keep non-Git data?\n\nThese migrations are more complex, but not impossible. For most version control systems there are helpful Open Source tools available. Here are a few resources:\n\n- [GitHub's documentation on importing from other VCS](https://help.github.com/enterprise/2.12/admin/guides/migrations/importing-data-from-third-party-version-control-systems/)\n- [Blog post about GitHub Migrator tool](https://github.com/blog/2110-migrate-your-code-with-the-github-importer)\n\n## Next steps\n\nNow that you have considered your options, expand the appropriate section below for more information:\n\n<details>\n  <summary>Using GitHub Importer</summary>\n  <hr>\n\n  ### Using GitHub Importer\n\n  GitHub has a terrific import tool that will allow you to import your repository in just a few minutes.\n\n  First, let's make sure your repository is Git friendly. **Close this issue** and I will open a new issue with next steps.\n\n  <hr>\n</details>\n\n<details>\n  <summary>Doing a clean cutover</summary>\n  <hr>\n\n  ### Doing a clean cutover\n\n  To do a clean cutover, you will need to remove the existing history. Some people like to save a back up of the project with the history. To start the process:\n\n  1. Download a copy of the project to your local machine\n  1. Remove version control (with Git this is as simple as running `rm -rf .git` inside the respository)\n  1. Remove the `migration` label on this issue and add the `local` label to ensure you get the right set of instructions later on in the course.\n\n  <hr>\n</details>\n\n<details>\n  <summary>Migrating non-git data</summary>\n  <hr>\n\n  ### Migrating non-git data\n\n  These migrations are more nuanced and outside the scope of this course. I recommend you go through these steps with a simple repository so you can learn best practices and then apply them to your more complex migration.\n\n</details>\n\n> Close this issue to signal you are finished with this step. I will open a new issue to show you how to optimize your repository for Git operations.\n\n:robot: I'm waiting for you to close this issue before moving on."}}
{"actor":{"display_login":"hectorsector-bananas"}}