{"action":"closed","issue":{"url":"https://api.github.com/repos/zywu89/github-upload/issues/2","repository_url":"https://api.github.com/repos/zywu89/github-upload","labels_url":"https://api.github.com/repos/zywu89/github-upload/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/zywu89/github-upload/issues/2/comments","events_url":"https://api.github.com/repos/zywu89/github-upload/issues/2/events","html_url":"https://github.com/zywu89/github-upload/issues/2","id":344280318,"node_id":"MDU6SXNzdWUzNDQyODAzMTg=","number":2,"title":"Preparing the project for Git","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":0,"created_at":"2018-07-25T03:35:44Z","updated_at":"2018-07-25T05:06:10Z","closed_at":"2018-07-25T05:06:10Z","author_association":"NONE","body":"## Step 2: Prepare the project\n\n### Working with Binary files\n\nIn general, there are two types of files: text files and binary files.\n\nText files, like most code files, are easily tracked with Git <sup>[:book:](https://help.github.com/articles/github-glossary/#git)</sup> and are very lightweight.\n\nHowever, binary files like spreadsheets, presentations with slides, and videos don't work well with Git. If your repository already has some of these files, it's best to have a plan in place before you enable Git version control.\n\nYou could choose to remove the binary files, or use another tool like [git-lfs](https://git-lfs.github.com/) (Git Large File Storage). We won't get into detail on how to set up git-lfs in this course, but we will talk about `.gitignore` files next, which are key to protecting your code from becoming bloated with binaries.\n\n### Add a `.gitignore`\n\nAs we convert your project to a Git repository, it should only include the source code necessary to build or compile your project. In addition to avoiding binaries as we discussed above, you will also want to keep build artifacts out of your version controlled code. \n\nTo do this, you will create a file in your current project named `.gitignore`. Git will use the `.gitignore` to determine which files and directories should not be tracked under version control. The [`.gitignore` file](https://help.github.com/articles/ignoring-files/) is stored in your repository in order to share the ignore rules with any other users that interact with the repository. \n\nSince the files to be ignored are dependent on the language you are using, the open source community has contributed some great templates for `.gitignore` files in the [`github/gitignore`](https://github.com/github/gitignore) repository.\n\n### :keyboard: Activity: Prepare your repository\n\n1. Remove any binary files from your repository.\n1. In your local environment, [create a `.gitignore` file](https://help.github.com/articles/ignoring-files/). You can use a [template](https://github.com/github/gitignore) or create your own.\n\n> When you are finished, close this issue. I will open a new issue with the next steps. :tada:\n\n<hr>\n<h3 align=\"center\">Watch below for my response</h3>\n\n> :robot: I'm waiting for you to close this issue before moving on.\n"}}
{"actor":{"display_login":"zywu89"}}