{"id":2971,"date":"2019-02-22T15:55:54","date_gmt":"2019-02-22T06:55:54","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=2971"},"modified":"2019-02-22T15:55:54","modified_gmt":"2019-02-22T06:55:54","slug":"git-encountered-n-files-that-should-have-been-pointers-but-werent","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/2971","title":{"rendered":"[git] Encountered N file(s) that should have been pointers, but weren&#8217;t:"},"content":{"rendered":"<p>Git LFS (Large File Strage) \u3067\u7ba1\u7406\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3092\u8a66\u307f\u308b\u3068\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u3068\u306a\u308b<\/p>\n<pre class=\"lang:default highlight:0 decode:true \" >Encountered 2 file(s) that should have been pointers, but weren't:<\/pre>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<h3>\u66ab\u5b9a\u7684\u306a\u89e3\u6c7a\u7b56<\/h3>\n<pre class=\"lang:default highlight:0 decode:true \" >git update-index --assume-unchanged -- \u30d5\u30a1\u30a4\u30eb\u540d<\/pre>\n<pre class=\"lang:default highlight:0 decode:true \" >git status -s | cut -c 4- | xargs git update-index --assume-unchanged<\/pre>\n<p>&nbsp;<\/p>\n<h3>\u6839\u672c\u7684\u306a\u89e3\u6c7a\u7b56<\/h3>\n<p>git\u30ea\u30dd\u30b8\u30c8\u30ea\u306bpush\u3059\u308b\u30e1\u30f3\u30d0\u30fc\u304c\u5168\u3066 git LFS \u5bfe\u5fdc\u3059\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Git LFS (Large File Strage) \u3067\u7ba1\u7406\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3092\u8a66\u307f\u308b\u3068\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u3068\u306a\u308b Encountered 2 file(s) that should have been poi [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[2],"class_list":["post-2971","post","type-post","status-publish","format-standard","hentry","category-memo","tag-git"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/2971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=2971"}],"version-history":[{"count":2,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/2971\/revisions"}],"predecessor-version":[{"id":2973,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/2971\/revisions\/2973"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=2971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=2971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=2971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}