{"id":124562,"date":"2020-06-12T13:10:35","date_gmt":"2020-06-12T05:10:35","guid":{"rendered":"http:\/\/4563.org\/?p=124562"},"modified":"2020-06-12T13:10:35","modified_gmt":"2020-06-12T05:10:35","slug":"%e6%80%8e%e4%b9%88%e5%a4%84%e7%90%86-git-%e4%b8%8b%e9%9d%a2-lfs-%e6%96%87%e4%bb%b6%e5%9d%8f%e6%8e%89%e7%9a%84%e9%97%ae%e9%a2%98%ef%bc%9f%e7%8e%b0%e5%9c%a8%e6%b2%a1%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=124562","title":{"rendered":"\u600e\u4e48\u5904\u7406 git \u4e0b\u9762 lfs \u6587\u4ef6\u201c\u574f\u6389\u201d\u7684\u95ee\u9898\uff1f\u73b0\u5728\u6ca1\u529e\u6cd5 checkout branch \u4e86"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u600e\u4e48\u5904\u7406 git \u4e0b\u9762 lfs \u6587\u4ef6\u201c\u574f\u6389\u201d\u7684\u95ee\u9898\uff1f\u73b0\u5728\u6ca1\u529e\u6cd5 checkout branch \u4e86               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yazoox <\/span>  <span><i><\/i> 6<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<pre><code>$ git checkout docssplash.png Updated 1 path from the index Encountered 1 file(s) that should have been pointers, but weren't:         docs\/splash.png <\/code><\/pre>\n<p>\u5982\u4e0a\u6240\u793a\uff0cgit repo \u91cc\u9762\u7684\u56fe\u7247\u6587\u4ef6 \uff0c\u88ab\u4eba\u5168\u653e\u5230 lfs \u91cc\u9762\u53bb\u4e86\u3002\u7ed3\u679c\u4eca\u5929\u53d1\u73b0\uff0c\u6709\u4e9b\u6587\u4ef6\u51fa\u4e86\u70b9\u95ee\u9898\u3002\u6bd4\u5982\uff1a<\/p>\n<p>splash.png \u6587\u4ef6\uff0c\u6211\u660e\u660e\u6ca1\u6709\u4fee\u6539\uff0c\u5374\u53d8\u6210\u4e86\u201c\u4fee\u6539\u72b6\u6001\u3002\u7136\u540e\u6211 checkout \u4e5f\u4e0d\u884c\uff0c\u600e\u4e48\u90fd\u4e0d\u5904\u7406\u4e0d\u4e86\u3002google \u4e86\u534a\u5929\uff0c\u4e5f\u641e\u4e0d\u5b9a\u3002<\/p>\n<p>\u5927\u5bb6\u6709\u78b0\u5230\u8fc7\u8fd9\u6837\u7684\u60c5\u51b5\u4e48\uff1f\u600e\u4e48\u89e3\u51b3\u7684\uff1f<\/p>\n<p>p.s. \u96be\u9053\u53ea\u80fd\u628a\u672c\u5730\u7684 git repo \u5220\u9664\u4e86\uff0c\u91cd\u65b0 git clone \u4e0b\u6765\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>1<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"2170521\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : yazoox <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             I resolved the issue by running the following commands. (p.s. my system is windows 10)<br \/>&#8220;`<br \/>git rm .gitattributes<br \/>git reset &#8211;hard HEAD<br \/>&#8220;`                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u600e\u4e48\u5904\u7406 git \u4e0b\u9762 lfs \u6587&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/124562"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=124562"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/124562\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=124562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=124562"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=124562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}