{"id":236338,"date":"2020-12-31T06:04:52","date_gmt":"2020-12-30T22:04:52","guid":{"rendered":"http:\/\/4563.org\/?p=236338"},"modified":"2020-12-31T06:04:52","modified_gmt":"2020-12-30T22:04:52","slug":"%e8%83%bd%e5%92%8c-node_modules-%e7%9b%b8%e6%8f%90%e5%b9%b6%e8%ae%ba%e7%9a%84%ef%bc%8c%e5%b0%b1%e6%98%af-git-submodule-%e4%ba%86","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=236338","title":{"rendered":"\u80fd\u548c node_modules \u76f8\u63d0\u5e76\u8bba\u7684\uff0c\u5c31\u662f git submodule \u4e86"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u80fd\u548c node_modules \u76f8\u63d0\u5e76\u8bba\u7684\uff0c\u5c31\u662f git submodule \u4e86               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : szq8014 <\/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<p>\u4e3a\u5565\u4e0d\u76f4\u63a5\u4f9d\u8d56\u67d0\u4e00\u7248\u672c\u800c\u662f\u628a\u6574\u4e2a\u4ed3\u5e93\u4f9d\u8d56\u8fc7\u6765\u5462\uff1f\u8fd9\u4e0b\u8f7d\u91cf\u53ef\u592a\u5927\u4e86\u2026\u2026\u540c\u4e00\u4e2a\u5927\u9879\u76ee\uff0c\u5404\u6a21\u5757\u4e4b\u95f4\u4f9d\u8d56\u58f0\u660e\u7528 git submodule \u4e5f\u5c31\u5c31\u7b97\u4e86\u3002\u30020_0<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/12\/20201231_5fede3e00f9ec.jpg\" alt=\"\u80fd\u548c node_modules \u76f8\u63d0\u5e76\u8bba\u7684\uff0c\u5c31\u662f git submodule \u4e86\" \/><\/p>\n<p>\u4e0a\u9762\u8fd8\u6ca1\u6709\u4e0b\u8f7d\u5b8c\u5462,\u53ea\u662f\u7b49\u5f97\u592a\u4e45\u4e86<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>6<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4675709\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : janus77 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u56e0\u4e3a\u6784\u5efa\u4e00\u4e2a\u6253\u5305\u7cfb\u7edf\u548c\u5386\u53f2\u7248\u672c\u7ef4\u62a4\u7cfb\u7edf\u7684\u6210\u672c\u8981\u66f4\u5927\u5427<br \/>submodule \u6211\u89c1\u5c0f\u9879\u76ee\u7528\u8fc7\uff0c\u5927\u9879\u76ee\u4e00\u822c\u4e0d\u7528\u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4675710\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : szq8014 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @janus77 \u55ef\uff0c\u6211\u6ca1\u600e\u4e48\u89c1\u8fc7\u5468\u56f4\u7684\u4eba\u7528\uff0c\u4e3b\u8981\u662f\u5f00\u6e90\u9879\u76ee\u7528\uff0c\u5b83\u4f9d\u8d56\u4e86\u4e00\u4e2a boost \u7684\u4e1c\u897f\uff0c\u7ed3\u679c\u8fd9\u4e2a\u662f git submodule \u7684\u4ee3\u7801\u7ec4\u7ec7\u65b9\u5f0f\u3002\u3002github \u7684\u4e0b\u8f7d\u901f\u5ea6\u771f\u662f\u4ee4\u4eba\u6349\u6025\u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4675711\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Kasumi20 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8003\u8651\u5b50\u6a21\u5757\u4e5f\u9700\u8981\u66f4\u65b0\u5427\uff0c\u4e0d\u7136\u76f4\u63a5\u7528 dist \u4e86\uff0c\u4e3a\u4ec0\u4e48\u8981\u7528\u5b50\u6a21\u5757                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4675712\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 12101111 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/codeload.github.com\/&lt;\u7528\u6237 \/\u7ec4\u7ec7\u540d&gt;\/&lt;\u9879\u76ee\u540d&gt;\/tar.gz\/&lt;commit hash\/\u5206\u652f\u540d&gt;<br \/>\u8fd9\u4e2a\u94fe\u63a5\u53ef\u4ee5\u83b7\u53d6\u5230\u4f60\u6307\u5b9a commit \u7684 archive \u5305, \u4e0d\u5305\u62ec submodule<br \/>\u4f60\u53ef\u4ee5\u9009\u62e9\u4e0d clone submodule, \u800c\u662f\u4e0a github \u627e\u5230\u5bf9\u5e94\u7684 commit, \u7136\u540e\u4e0b\u8f7d\u89e3\u538b<br \/>\u6ce8\u610f\u540c\u6837\u8981\u9012\u5f52\u7684\u8fdb\u884c, \u56e0\u4e3a submodule \u5957 submodule \u65f6, \u4e0b\u8f7d\u7684\u5b50 submodule \u7684 archive \u5e76\u6ca1\u6709\u4efb\u4f55\u5b59 submodule \u7684\u4fe1\u606f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4675713\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : elfive <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u89c9\u5f97\u5427\uff0c\u81f3\u5c11\u5728 git submodule del \u51fa\u73b0\u4e4b\u524d\uff0c\u5b83\u548c node_modules \u8fd8\u662f\u6709\u70b9\u70b9\u5dee\u8ddd\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4675714\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Junzhou <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             git submodule \u6709\u70b9\u4e0d\u597d\u7528\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u80fd\u548c node_modules \u76f8&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\/236338"}],"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=236338"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/236338\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=236338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=236338"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=236338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}