{"id":320446,"date":"2021-02-05T04:27:16","date_gmt":"2021-02-04T20:27:16","guid":{"rendered":"http:\/\/4563.org\/?p=320446"},"modified":"2021-02-05T04:27:16","modified_gmt":"2021-02-04T20:27:16","slug":"clone-depth1-%e6%8b%89%e5%8f%96%e4%bb%93%e5%ba%93%e6%89%80%e6%9c%89%e6%96%87%e4%bb%b6%e5%90%8e%ef%bc%8c%e5%86%8d%e9%80%9a%e8%bf%87-pull-%e6%8b%89%e5%8f%96%e6%97%b6%ef%bc%8c%e5%a6%82%e4%bd%95","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=320446","title":{"rendered":"clone &#8211;depth=1 \u62c9\u53d6\u4ed3\u5e93\u6240\u6709\u6587\u4ef6\u540e\uff0c\u518d\u901a\u8fc7 pull \u62c9\u53d6\u65f6\uff0c\u5982\u4f55\u53ea\u62c9\u53d6 commit \u540e\u53d8\u66f4\u7684\u6587\u4ef6?"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  clone &#8211;depth=1 \u62c9\u53d6\u4ed3\u5e93\u6240\u6709\u6587\u4ef6\u540e\uff0c\u518d\u901a\u8fc7 pull \u62c9\u53d6\u65f6\uff0c\u5982\u4f55\u53ea\u62c9\u53d6 commit \u540e\u53d8\u66f4\u7684\u6587\u4ef6?               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ReputationZh <\/span>  <span><i><\/i> 5<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u4ed3\u5e93\u592a\u5927\uff0c\u6570\u767e G\uff0c\u62c9\u4e00\u6b21\u8981\u534a\u4e2a\u5c0f\u65f6\uff0c\u592a\u6162\u4e86\u3002<br \/>\u6709\u66f4\u597d\u7684\u62c9\u53d6\u65b9\u5f0f\u5417\uff1f\u4e0d\u9650\u4e8e pull \u3002      <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>4<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5055220\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xupefei <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             github \u7684\u8bdd\u53ef\u4ee5\u7528 api \u4e0b\u8f7d\u4e00\u4e2a tarball\uff0c\u6bd4 clone \u8981\u5feb\u70b9\u513f\u3002<br \/>\u8fd8\u6709\u79cd\u529e\u6cd5\u662f\u6bcf\u6b21 pull \u7684\u65f6\u5019\u4e5f\u2014depth 1                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5055221\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : AoEiuV020 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6ca1\u8bb0\u9519\u7684\u8bdd\uff0c\u5c31\u666e\u901a git pull \u5c31\u662f\u53ea\u62c9\u53d6\u540e\u7eed commit, \u60f3\u62c9\u53d6\u524d\u9762\u7684\u624d\u8981\u52a0\u53c2\u6570 unshallow\uff0c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5055222\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ReputationZh <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xupefei \u5185\u7f51\u7684 gitlab\uff0c\u8bdd\u8bf4\u51e0\u767e G \u7684\u6587\u4ef6\u600e\u4e48\u53ef\u80fd\u5b58\u5230 github \u4e0a\u2026\u521a\u624d\u8bd5\u4e86\u4e00\u4e0b\uff0c\u53d1\u73b0 git pull \u4e5f\u53ef\u4ee5\u52a0\u53c2\u6570&#8211;depth=1\uff0c\u53d1\u73b0\u51e0\u79d2\u949f\u5c31\u5b8c\u4e8b\u4e86\u3002\u6ee1\u8db3\u6211\u7684\u9700\u6c42\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5055223\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : julyclyde <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ReputationZh \u51e0\u767e G \u4e00\u822c\u5c31\u7528 Large file storage \u4e86\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>clone &#8211;dept&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\/320446"}],"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=320446"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/320446\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=320446"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=320446"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=320446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}