{"type":"rich","provider_url":"https://hatena.blog","title":"GitHub\u306bpush\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3059\u308b\u65b9\u6cd5","provider_name":"Hatena Blog","blog_url":"https://yng.hatenablog.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyng.hatenablog.jp%2Fentry%2F2015%2F06%2F23%2F215756\" title=\"GitHub\u306bpush\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3059\u308b\u65b9\u6cd5 - \u306b\u308f\u3068\u308a\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u306e\u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","description":".gitignore\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0 .gitignore\u306b\u524a\u9664\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304d\u8fbc\u3093\u3067\u3001github\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u306a\u3044\u3088\u3046\u306b\u8a2d\u5b9a\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb\u3092git\u306e\u7ba1\u7406\u5316\u304b\u3089\u524a\u9664 \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5834\u5408\u306f\u3001--cached \u306e\u524d\u306b -r \u3092\u4ed8\u3051\u308b $ git rm [-r] --cached [\u30d5\u30a1\u30a4\u30eb\u540d]\u5909\u66f4\u3092\u30b3\u30df\u30c3\u30c8 $ git commit -m \"remove file under git management\"github\u306b\u30d7\u30c3\u30b7\u30e5 $ git push -u origin <branch>\u4ee5\u4e0a\u3067github\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u304c\u524a\u9664\u3055\u308c\u307e\u3059\uff0e","blog_title":"\u306b\u308f\u3068\u308a\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u306e\u5099\u5fd8\u9332","author_name":"t-yng","categories":[],"image_url":null,"width":"100%","url":"https://yng.hatenablog.jp/entry/2015/06/23/215756","version":"1.0","published":"2015-06-23 21:57:56","author_url":"https://blog.hatena.ne.jp/t-yng/"}