{"action":"created","issue":{"url":"https://api.github.com/repos/peterkania/github-upload/issues/3","repository_url":"https://api.github.com/repos/peterkania/github-upload","labels_url":"https://api.github.com/repos/peterkania/github-upload/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/peterkania/github-upload/issues/3/comments","events_url":"https://api.github.com/repos/peterkania/github-upload/issues/3/events","html_url":"https://github.com/peterkania/github-upload/issues/3","id":487149369,"node_id":"MDU6SXNzdWU0ODcxNDkzNjk=","number":3,"title":"Uploading your project","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":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-08-29T20:00:12Z","updated_at":"2019-08-29T20:21:21Z","closed_at":"2019-08-29T20:05:54Z","author_association":"NONE","body":"## Step 3: Make the move\n\nHaving a project already stored locally enables you to move it to GitHub rather quickly. The following activity provides instructions to move your local project to GitHub using various tools. Select the tool you are most comfortable with and get importing :smile:.\n\n### :keyboard: Activity: Moving your local project\n\n1. In the **Code** tab of this repository, copy the URL shown under **Quick Setup**.\n1. Follow the instructions below based on what tool you'd like to use locally.\n\n<details>\n  <summary>Using the command line</summary>\n  <hr>\n\n  ### Using the command line\n\n  1. In your command line, navigate to your project directory. Type `git init` to initialize the directory as a Git repository.\n  2. Type `git remote add origin https://github.com/peterkania/github-upload.git`\n  3. Type `git add .`\n  4. Type `git commit -m \"initializing repository\"`\n  5. Type `git push -u origin master` to push the files you have locally to the remote on GitHub. (You may be asked to log in.)\n\n  <hr>\n</details>\n\n<details>\n  <summary>Using GitHub Desktop</summary>\n  <hr>\n\n  ### Using GitHub Desktop\n\n  1. In GitHub Desktop, add a local repository by clicking `File > Add a Local Repository`, and then navigating to your local repository.\n  1. Create your first commit by typing a summary commit message in the field provided and clicking **Commit to master**\n  2. Add the remote by clicking `Repository > Repository Settings...` and pasting the URL from your repository on GitHub into the \"Primary remote repository (origin)\" field. Click **Save**.\n  3. Click **Publish** in the top right corner to push your repository to GitHub.\n\n  <hr>\n</details>\n\n<details>\n  <summary>Using Visual Studio Code</summary>\n  <hr>\n\n  ### Using Visual Studio Code\n\n  1. In Visual Studio Code, open the folder for your project.\n  1. Click the icon on the left for **Source Control**.\n  1. On the top of the Source Control panel, click the **Git icon**.\n  1. If the files you see match the repository you want to create, click **Initialize Repository**.\n  1. Next to the word **CHANGES**, click the symbol of the plus sign to stage all of the changes.\n        - This is part of the two stage commit. You can use this staging function to create meaningful commits throughout the development process.\n  1. In the box in the Source Control panel, type a commit message. Something like \"initial commit - moving project\" could work.\n  1. Click the checkmark at the top of the Source Control panel.\n  1. Open the integrated terminal found under View > Integrated Terminal.\n  1. In your command line, type `git remote add origin https://github.com/peterkania/github-upload`\n  1. In the Source Control Panel, click the expandable three dots that open a menu of options.\n  1. When asked if you'd like to publish the branch, click **Okay**.\n\n  <hr>\n</details>\n\n<details>\n  <summary>Using Atom</summary>\n  <hr>\n\n  ### Using Atom\n\n  1. In Atom, open the folder for your project\n  1. At the top of your screen, click **Packages**. Select **GitHub**, and then toggle the **Git Tab** from the drop-down menu.\n  1. Select **Create Repository** within the Git tab on the right-hand size of your screen.\n  1. Select **Init** to accept the default prompt of the pop up window\n  1. In the Git tab, you can see that your files are ready for staging. It _should_ be accounted for, but double check to make sure that none of your binaries or files that you listed in the .gitignore are listed in this dialog menu.\n          - If they are, double check your .gitignore file to make sure they're included or remove them from your directory.\n  1. Select **Stage All**\n          - This is part of the two stage commit. You can use this staging function to create meaningful commits throughout the development process.\n  1. In the box at the bottom of the Git panel, type a commit message. Something like \"initial commit - moving project\" could work.\n  1. Select **Commit**\n  1. Close Atom\n  1. In your command line, navigate to your project directory.\n  2. Type `git remote add origin https://github.com/peterkania/github-upload`\n  3. Return to Atom, and select the [Up/Down arrow icon](https://user-images.githubusercontent.com/13326548/36766999-34ff2bb2-1bed-11e8-90c6-3c97d0837244.png) at the bottom of your Git Tab\n  4. Click [Push](https://user-images.githubusercontent.com/13326548/36767211-5fd34ce6-1bee-11e8-964a-f49bed227c02.png), above the noted dialog.\n  5. Return to your repository, and note a successful push by finding your files on GitHub's code tab.\n\n  <hr>\n</details>\n\n<details>\n  <summary>Using Eclipse</summary>\n  <hr>\n\n  ### Using Eclipse\n\n  1. In Eclipse, from the Eclipse Marketplace, install the [eGit](http://www.eclipse.org/egit/) GitHub plugin.\n  2. Open your existing project.\n  3. Display the **Git Repositories** window by selecting Window > Show View > Other > Git > Git Repositories.\n  3. Click the **Create a Git Repository** button on the Git Repositories pane.\n  4. Make changes to your project and create a commit.\n  5. Push the master branch.\n  5. When asked for a remote, paste the URL you copied earlier.\n  6. Click next, and enter the branch name.\n\n  <hr>\n</details>\n\n<hr>\n<h3 align=\"center\">Watch below for my response</h3>\n\n> :robot: Once you push your project to GitHub, I'll provide the next steps in your journey.\n"},"comment":{"url":"https://api.github.com/repos/peterkania/github-upload/issues/comments/526345967","html_url":"https://github.com/peterkania/github-upload/issues/3#issuecomment-526345967","issue_url":"https://api.github.com/repos/peterkania/github-upload/issues/3","id":526345967,"node_id":"MDEyOklzc3VlQ29tbWVudDUyNjM0NTk2Nw==","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},"created_at":"2019-08-29T20:21:21Z","updated_at":"2019-08-29T20:21:21Z","author_association":"NONE","body":"I just wanted to remind you that I recommend having a `.gitignore` file in your project, if it needs one. Some projects might not need a `.gitignore` file and that is just fine :ok_hand:. If you decide later that you want to add a `.gitignore` file, use these [instructions](https://help.github.com/articles/ignoring-files/)."}}
{"actor":{"display_login":"github-learning-lab"}}