{"action":"created","issue":{"url":"https://api.github.com/repos/JavaKueche/javakueche.github.io/issues/15","labels_url":"https://api.github.com/repos/JavaKueche/javakueche.github.io/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/JavaKueche/javakueche.github.io/issues/15/comments","events_url":"https://api.github.com/repos/JavaKueche/javakueche.github.io/issues/15/events","html_url":"https://github.com/JavaKueche/javakueche.github.io/pull/15","id":121151733,"number":15,"title":"活動報告書(PDF) を Git LFS で管理するように変更","user":{"login":"Tomohiro","id":54254,"avatar_url":"https://avatars.githubusercontent.com/u/54254?v=3","gravatar_id":"","url":"https://api.github.com/users/Tomohiro","html_url":"https://github.com/Tomohiro","followers_url":"https://api.github.com/users/Tomohiro/followers","following_url":"https://api.github.com/users/Tomohiro/following{/other_user}","gists_url":"https://api.github.com/users/Tomohiro/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomohiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomohiro/subscriptions","organizations_url":"https://api.github.com/users/Tomohiro/orgs","repos_url":"https://api.github.com/users/Tomohiro/repos","events_url":"https://api.github.com/users/Tomohiro/events{/privacy}","received_events_url":"https://api.github.com/users/Tomohiro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JavaKueche/javakueche.github.io/labels/3.%20Done","name":"3. Done","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"yutakakinjyo","id":1648096,"avatar_url":"https://avatars.githubusercontent.com/u/1648096?v=3","gravatar_id":"","url":"https://api.github.com/users/yutakakinjyo","html_url":"https://github.com/yutakakinjyo","followers_url":"https://api.github.com/users/yutakakinjyo/followers","following_url":"https://api.github.com/users/yutakakinjyo/following{/other_user}","gists_url":"https://api.github.com/users/yutakakinjyo/gists{/gist_id}","starred_url":"https://api.github.com/users/yutakakinjyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yutakakinjyo/subscriptions","organizations_url":"https://api.github.com/users/yutakakinjyo/orgs","repos_url":"https://api.github.com/users/yutakakinjyo/repos","events_url":"https://api.github.com/users/yutakakinjyo/events{/privacy}","received_events_url":"https://api.github.com/users/yutakakinjyo/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-12-09T03:25:12Z","updated_at":"2015-12-09T05:07:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JavaKueche/javakueche.github.io/pulls/15","html_url":"https://github.com/JavaKueche/javakueche.github.io/pull/15","diff_url":"https://github.com/JavaKueche/javakueche.github.io/pull/15.diff","patch_url":"https://github.com/JavaKueche/javakueche.github.io/pull/15.patch"},"body":"@yutakakinjyo \r\n/cc @mura- @Arakaki-Yuji @ryokou \r\n\r\nGit LFS を試してみました。\r\n追加で `git-lfs` をインストールしないといけないので，他の人が pull した時に問題ないかも見てほしいです。\r\n\r\n詳細は以下に書いてあります。問題なさそうだったらマージお願いします！\r\n\r\n### 目的\r\n\r\n活動報告書は PDF フォーマットのため差分管理する必要がない。\r\nそこで，Git LFS を利用してバイナリ管理化におくことにします。\r\n\r\n### 必要なもの\r\n\r\n- Git Large File Storage (LFS) replaces https://git-lfs.github.com/\r\n\r\n#### インストール方法 for OS X\r\n\r\n```sh\r\n$ brew install git-lfs\r\n```\r\n\r\n### Git LFS 化した時の手順\r\n\r\n既存の PDF ファイルを一旦 Git 管理化からはずす:\r\n\r\n```sh\r\n$ git rm --cached files/*.pdf\r\n```\r\n\r\nGit LFS 初期化:\r\n\r\n```sh\r\n$ git lfs init\r\n```\r\n\r\nPDF ファイルを Git LFS で管理するように設定:\r\n\r\n```sh\r\n$ git lfs track '*.pdf'\r\n```\r\n\r\nPDF ファイルを再度追加してコミット:\r\n\r\n```sh\r\n$ git add files/*.pdf\r\n$ git commit -m 'Manage PDF files by Git LFS'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/JavaKueche/javakueche.github.io/issues/comments/163109818","html_url":"https://github.com/JavaKueche/javakueche.github.io/pull/15#issuecomment-163109818","issue_url":"https://api.github.com/repos/JavaKueche/javakueche.github.io/issues/15","id":163109818,"user":{"login":"Tomohiro","id":54254,"avatar_url":"https://avatars.githubusercontent.com/u/54254?v=3","gravatar_id":"","url":"https://api.github.com/users/Tomohiro","html_url":"https://github.com/Tomohiro","followers_url":"https://api.github.com/users/Tomohiro/followers","following_url":"https://api.github.com/users/Tomohiro/following{/other_user}","gists_url":"https://api.github.com/users/Tomohiro/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomohiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomohiro/subscriptions","organizations_url":"https://api.github.com/users/Tomohiro/orgs","repos_url":"https://api.github.com/users/Tomohiro/repos","events_url":"https://api.github.com/users/Tomohiro/events{/privacy}","received_events_url":"https://api.github.com/users/Tomohiro/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T05:07:09Z","updated_at":"2015-12-09T05:07:09Z","body":"10_activity_report.pdf ← これありますか"}}