{"id":37864,"date":"2023-11-21T21:45:52","date_gmt":"2023-01-15T03:05:33","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93%e6%88%91%e5%b0%9d%e8%af%95%e8%bf%90%e8%a1%8cgit-init%e5%b9%b6%e6%89%a7%e8%a1%8cgit-add-%e6%97%b6%ef%bc%8c%e5%8f%91%e7%8e%b0%e4%b8%8b%e4%b8%80%e7%ba%a7%e7%9b%ae%e5%bd%95%e4%b8%ad%e5%b7%b2\/"},"modified":"2024-01-15T09:44:04","modified_gmt":"2024-01-15T01:44:04","slug":"%e5%bd%93%e6%88%91%e5%b0%9d%e8%af%95%e8%bf%90%e8%a1%8cgit-init%e5%b9%b6%e6%89%a7%e8%a1%8cgit-add-%e6%97%b6%ef%bc%8c%e5%8f%91%e7%8e%b0%e4%b8%8b%e4%b8%80%e7%ba%a7%e7%9b%ae%e5%bd%95%e4%b8%ad%e5%b7%b2","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93%e6%88%91%e5%b0%9d%e8%af%95%e8%bf%90%e8%a1%8cgit-init%e5%b9%b6%e6%89%a7%e8%a1%8cgit-add-%e6%97%b6%ef%bc%8c%e5%8f%91%e7%8e%b0%e4%b8%8b%e4%b8%80%e7%ba%a7%e7%9b%ae%e5%bd%95%e4%b8%ad%e5%b7%b2\/","title":{"rendered":"\u5f53\u6211\u5c1d\u8bd5\u8fd0\u884cgit init\u5e76\u6267\u884cgit add *\u65f6\uff0c\u53d1\u73b0\u4e0b\u4e00\u7ea7\u76ee\u5f55\u4e2d\u5df2\u7ecf\u5b58\u5728git\uff0c\u56e0\u6b64\u6211\u5e0c\u671b\u5bf9\u5176\u8fdb\u884c\u6574\u5408"},"content":{"rendered":"<hr \/>\n<p>\u5728~\/myprojects\/&lt;\u65b0\u5efa\u7684git\u6839\u76ee\u5f55&gt;\u4e0b\u8fd0\u884cgit init\u5e76git add *\u540e\uff0c\u6536\u5230\u5df2\u7ecf\u5b58\u5728\u4e8e~\/myprojects\/&lt;\u65b0\u5efa\u7684git\u6839\u76ee\u5f55&gt;\/AAA\/\u4e2d\u7684git\u7684\u63d0\u793a\u3002<\/p>\n<p>\u6211\u60f3\u8981\u79fb\u9664&#8221;AAA&#8221;\u76ee\u5f55\u4e0b\u7684git\uff0c\u5e76\u5c06\u5b83\u5408\u5e76\u5230&#8221;\u65b0\u5efa\u7684git\u6839\u76ee\u5f55&#8221;\u7684git\u4e2d\u3002<\/p>\n<hr \/>\n<h2>\u7b56\u7565<\/h2>\n<p>\u5982\u679c\u4f7f\u7528git subtree add\u547d\u4ee4\uff0c\u53ef\u4ee5\u5c06\u5176\u4ed6git\u5b58\u50a8\u5e93\u6dfb\u52a0\u4e3a\u5b50\u76ee\u5f55\uff0c\u6240\u4ee5\u8981\u4f7f\u7528\u5b83\u3002\u4f46\u662f\uff0c\u7531\u4e8e\u5f53\u524d\u5df2\u7ecf\u5b58\u5728\u5b50\u76ee\u5f55\uff0c\u5982\u679c\u76f4\u63a5\u6267\u884c\u8be5\u547d\u4ee4\u4f1a\u88ab\u8b66\u544a\u3002\u56e0\u6b64\uff0c\u9700\u8981\u5148\u5c06\u5176\u91cd\u547d\u540d\u6216\u8005\u79fb\u52a8\u5230\u522b\u5904\uff0c\u7136\u540e\u518d\u6267\u884c\u3002<\/p>\n<h3>\u4ee5\u4e0b\u662f\u524d\u63d0<\/h3>\n<p>\u5047\u8bbe\u5df2\u7ecf\u5b58\u5728\u4e00\u4e2a\u540d\u4e3aAAA\u7684\u6587\u4ef6\u5939\u3002\u5047\u8bbe\u5728\u65b0\u521b\u5efa\u7684git\u6839\u76ee\u5f55\u4e0b\u8fdb\u884c\u4e86git init\u64cd\u4f5c\u3002<br \/>\n\u5047\u8bbe\u6211\u4eec\u5f53\u524d\u4f4d\u4e8e\u65b0\u521b\u5efa\u7684git\u6839\u76ee\u5f55\u4e0b\u3002#cd\u5230&lt;\u65b0\u521b\u5efa\u7684git\u6839\u76ee\u5f55&gt;\u7684\u8def\u5f84\u3002<\/p>\n<h3>\u5c06\u901a\u8fc7git add\u547d\u4ee4\u6dfb\u52a0\u5230\u6682\u5b58\u533a\u7684\u5185\u5bb9\u8fdb\u884c\u6e05\u7406\u3002<\/h3>\n<p>\u5982\u679c\u6ca1\u6709\u6267\u884cgit add\u547d\u4ee4\uff0c\u53ef\u4ee5\u7a0d\u5fae\u5f80\u4e0b\u4e00\u70b9\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<pre class=\"post-pre\"><code>git <span class=\"nb\">rm<\/span> <span class=\"nt\">-rf<\/span> <span class=\"nt\">--cached<\/span> <span class=\"k\">*<\/span> \r\n<\/code><\/pre>\n<p>\u5f53\u67e5\u770b\u72b6\u6001\u65f6<\/p>\n<pre class=\"post-pre\"><code> git status\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>\r\nOn branch master\r\n\r\nNo commits yet\r\n\r\nUntracked files:\r\n  <span class=\"o\">(<\/span>use <span class=\"s2\">\"git add &lt;file&gt;...\"<\/span> to include <span class=\"k\">in <\/span>what will be committed<span class=\"o\">)<\/span>\r\n\r\n    AAA\/\r\n<\/code><\/pre>\n<h3>\u4e00\u65e6\u63d0\u4ea4\u3002<\/h3>\n<pre class=\"post-pre\"><code>git commit <span class=\"nt\">--allow-empty<\/span> <span class=\"nt\">--allow-empty-message<\/span> <span class=\"nt\">-m<\/span> <span class=\"s2\">\"\"<\/span>\r\n<\/code><\/pre>\n<p>\u7b49\u7b49<\/p>\n<hr \/>\n<p>\u5982\u679c\u4f60\u8fd8\u6ca1\u6709\u50cfgit add\u7b49\u64cd\u4f5c\u90a3\u6837\u6309\u7167\u9884\u5b9a\u6218\u7565\u6267\u884c\uff0c\u4f60\u53ef\u4ee5\u4ece\u8fd9\u91cc\u5f00\u59cb\u3002<\/p>\n<h3>\u6682\u65f6\u6539\u540d\u5b57<\/h3>\n<pre class=\"post-pre\"><code><span class=\"nb\">mv <\/span>AAA AAA_\r\n<\/code><\/pre>\n<h3>\u8fdc\u7a0b\u6ce8\u518c\uff08XXX \u4e3a\u5de5\u4f5c\u6240\u9700\u7684\u9002\u5f53\u540d\u79f0\uff09<\/h3>\n<pre class=\"post-pre\"><code>git remote add XXX  AAA_\/\r\n<\/code><\/pre>\n<p>\u786e\u8ba4<\/p>\n<pre class=\"post-pre\"><code>git remote \r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>XXX \r\n<\/code><\/pre>\n<h3>\u5c06\u5386\u53f2\u8bb0\u5f55\u6574\u5408<\/h3>\n<pre class=\"post-pre\"><code>git subtree add <span class=\"nt\">--prefix<\/span> AAA XXX master\r\n<\/code><\/pre>\n<h3>\u6253\u6383<\/h3>\n<p>\u68c0\u67e5\u5b8c\u5404\u4e2a\u65b9\u9762\u5e76\u611f\u5230\u5b89\u5fc3\u540e\uff0c\u8ba9\u6211\u4eec\u5220\u9664AAA\uff08\u5982\u679c\u62c5\u5fc3\u7684\u8bdd\uff0c\u53ef\u4ee5\u79fb\u52a8\u5230\u5176\u4ed6\u5730\u65b9\u5148\u4fdd\u5b58\uff09\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nb\">rm<\/span> <span class=\"nt\">-rf<\/span> AAA_\r\n<\/code><\/pre>\n<p>\u5c06\u8fdc\u7a0b\u4e5f\u5173\u95ed<\/p>\n<pre class=\"post-pre\"><code>git remote remove XXX\r\n<\/code><\/pre>\n<p>\u73b0\u5728\u53ea\u5269\u4e0b\u4e00\u822c\u7684\u4e8b\u60c5\u4e86\u3002<\/p>\n<p>\u6bd4\u5982\u8bf4<\/p>\n<p>\u5c06\u6240\u6709\u6587\u4ef6\u52a0\u5165\u5230Git\u4e2d<\/p>\n<p>\u7b49\u7b49<\/p>\n<p>\u5982\u679c\u6709\u4eba\u60f3\u8981\u505a\u4e00\u4e9b\u7f8e\u597d\u7684\u4e8b\u60c5\uff0c\u53ef\u4ee5\u9605\u8bfb &#8220;git subtree add &#8211;help&#8221; \u7b49\u7b49\u3002<\/p>\n<hr \/>\n<p>\u8fd9\u6b21\u6ca1\u6709\u4f7f\u7528git merge\u3001git fetch\u3001git read-tree\u548cgit subtree merge\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728~\/myprojects\/&lt;\u65b0\u5efa\u7684git\u6839\u76ee\u5f55&gt;\u4e0b\u8fd0\u884cgit init\u5e76git add *\u540e\uff0c\u6536 [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-37864","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5f53\u6211\u5c1d\u8bd5\u8fd0\u884cgit init\u5e76\u6267\u884cgit add *\u65f6\uff0c\u53d1\u73b0\u4e0b\u4e00\u7ea7\u76ee\u5f55\u4e2d\u5df2\u7ecf\u5b58\u5728git\uff0c\u56e0\u6b64\u6211\u5e0c\u671b\u5bf9\u5176\u8fdb\u884c\u6574\u5408 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5f53\u6211\u5c1d\u8bd5\u8fd0\u884cgit-init\u5e76\u6267\u884cgit-add-\u65f6\uff0c\u53d1\u73b0\u4e0b\u4e00\u7ea7\u76ee\u5f55\u4e2d\u5df2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5f53\u6211\u5c1d\u8bd5\u8fd0\u884cgit init\u5e76\u6267\u884cgit add *\u65f6\uff0c\u53d1\u73b0\u4e0b\u4e00\u7ea7\u76ee\u5f55\u4e2d\u5df2\u7ecf\u5b58\u5728git\uff0c\u56e0\u6b64\u6211\u5e0c\u671b\u5bf9\u5176\u8fdb\u884c\u6574\u5408\" \/>\n<meta property=\"og:description\" content=\"\u5728~\/myprojects\/&lt;\u65b0\u5efa\u7684git\u6839\u76ee\u5f55&gt;\u4e0b\u8fd0\u884cgit init\u5e76git add *\u540e\uff0c\u6536 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5f53\u6211\u5c1d\u8bd5\u8fd0\u884cgit-init\u5e76\u6267\u884cgit-add-\u65f6\uff0c\u53d1\u73b0\u4e0b\u4e00\u7ea7\u76ee\u5f55\u4e2d\u5df2\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-15T03:05:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-15T01:44:04+00:00\" \/>\n<meta name=\"author\" content=\"\u6e05, \u5b87\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u5b87\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93%e6%88%91%e5%b0%9d%e8%af%95%e8%bf%90%e8%a1%8cgit-init%e5%b9%b6%e6%89%a7%e8%a1%8cgit-add-%e6%97%b6%ef%bc%8c%e5%8f%91%e7%8e%b0%e4%b8%8b%e4%b8%80%e7%ba%a7%e7%9b%ae%e5%bd%95%e4%b8%ad%e5%b7%b2\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93%e6%88%91%e5%b0%9d%e8%af%95%e8%bf%90%e8%a1%8cgit-init%e5%b9%b6%e6%89%a7%e8%a1%8cgit-add-%e6%97%b6%ef%bc%8c%e5%8f%91%e7%8e%b0%e4%b8%8b%e4%b8%80%e7%ba%a7%e7%9b%ae%e5%bd%95%e4%b8%ad%e5%b7%b2\/\",\"name\":\"\u5f53\u6211\u5c1d\u8bd5\u8fd0\u884cgit init\u5e76\u6267\u884cgit add *\u65f6\uff0c\u53d1\u73b0\u4e0b\u4e00\u7ea7\u76ee\u5f55\u4e2d\u5df2\u7ecf\u5b58\u5728git\uff0c\u56e0\u6b64\u6211\u5e0c\u671b\u5bf9\u5176\u8fdb\u884c\u6574\u5408 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-01-15T03:05:33+00:00\",\"dateModified\":\"2024-01-15T01:44:04+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93%e6%88%91%e5%b0%9d%e8%af%95%e8%bf%90%e8%a1%8cgit-init%e5%b9%b6%e6%89%a7%e8%a1%8cgit-add-%e6%97%b6%ef%bc%8c%e5%8f%91%e7%8e%b0%e4%b8%8b%e4%b8%80%e7%ba%a7%e7%9b%ae%e5%bd%95%e4%b8%ad%e5%b7%b2\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93%e6%88%91%e5%b0%9d%e8%af%95%e8%bf%90%e8%a1%8cgit-init%e5%b9%b6%e6%89%a7%e8%a1%8cgit-add-%e6%97%b6%ef%bc%8c%e5%8f%91%e7%8e%b0%e4%b8%8b%e4%b8%80%e7%ba%a7%e7%9b%ae%e5%bd%95%e4%b8%ad%e5%b7%b2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93%e6%88%91%e5%b0%9d%e8%af%95%e8%bf%90%e8%a1%8cgit-init%e5%b9%b6%e6%89%a7%e8%a1%8cgit-add-%e6%97%b6%ef%bc%8c%e5%8f%91%e7%8e%b0%e4%b8%8b%e4%b8%80%e7%ba%a7%e7%9b%ae%e5%bd%95%e4%b8%ad%e5%b7%b2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5f53\u6211\u5c1d\u8bd5\u8fd0\u884cgit init\u5e76\u6267\u884cgit add *\u65f6\uff0c\u53d1\u73b0\u4e0b\u4e00\u7ea7\u76ee\u5f55\u4e2d\u5df2\u7ecf\u5b58\u5728git\uff0c\u56e0\u6b64\u6211\u5e0c\u671b\u5bf9\u5176\u8fdb\u884c\u6574\u5408\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\",\"name\":\"\u6e05, \u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93%e6%88%91%e5%b0%9d%e8%af%95%e8%bf%90%e8%a1%8cgit-init%e5%b9%b6%e6%89%a7%e8%a1%8cgit-add-%e6%97%b6%ef%bc%8c%e5%8f%91%e7%8e%b0%e4%b8%8b%e4%b8%80%e7%ba%a7%e7%9b%ae%e5%bd%95%e4%b8%ad%e5%b7%b2\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5f53\u6211\u5c1d\u8bd5\u8fd0\u884cgit init\u5e76\u6267\u884cgit add *\u65f6\uff0c\u53d1\u73b0\u4e0b\u4e00\u7ea7\u76ee\u5f55\u4e2d\u5df2\u7ecf\u5b58\u5728git\uff0c\u56e0\u6b64\u6211\u5e0c\u671b\u5bf9\u5176\u8fdb\u884c\u6574\u5408 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u5f53\u6211\u5c1d\u8bd5\u8fd0\u884cgit-init\u5e76\u6267\u884cgit-add-\u65f6\uff0c\u53d1\u73b0\u4e0b\u4e00\u7ea7\u76ee\u5f55\u4e2d\u5df2\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5f53\u6211\u5c1d\u8bd5\u8fd0\u884cgit init\u5e76\u6267\u884cgit add *\u65f6\uff0c\u53d1\u73b0\u4e0b\u4e00\u7ea7\u76ee\u5f55\u4e2d\u5df2\u7ecf\u5b58\u5728git\uff0c\u56e0\u6b64\u6211\u5e0c\u671b\u5bf9\u5176\u8fdb\u884c\u6574\u5408","og_description":"\u5728~\/myprojects\/&lt;\u65b0\u5efa\u7684git\u6839\u76ee\u5f55&gt;\u4e0b\u8fd0\u884cgit init\u5e76git add *\u540e\uff0c\u6536 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5f53\u6211\u5c1d\u8bd5\u8fd0\u884cgit-init\u5e76\u6267\u884cgit-add-\u65f6\uff0c\u53d1\u73b0\u4e0b\u4e00\u7ea7\u76ee\u5f55\u4e2d\u5df2\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-01-15T03:05:33+00:00","article_modified_time":"2024-01-15T01:44:04+00:00","author":"\u6e05, \u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u5b87","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93%e6%88%91%e5%b0%9d%e8%af%95%e8%bf%90%e8%a1%8cgit-init%e5%b9%b6%e6%89%a7%e8%a1%8cgit-add-%e6%97%b6%ef%bc%8c%e5%8f%91%e7%8e%b0%e4%b8%8b%e4%b8%80%e7%ba%a7%e7%9b%ae%e5%bd%95%e4%b8%ad%e5%b7%b2\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93%e6%88%91%e5%b0%9d%e8%af%95%e8%bf%90%e8%a1%8cgit-init%e5%b9%b6%e6%89%a7%e8%a1%8cgit-add-%e6%97%b6%ef%bc%8c%e5%8f%91%e7%8e%b0%e4%b8%8b%e4%b8%80%e7%ba%a7%e7%9b%ae%e5%bd%95%e4%b8%ad%e5%b7%b2\/","name":"\u5f53\u6211\u5c1d\u8bd5\u8fd0\u884cgit init\u5e76\u6267\u884cgit add *\u65f6\uff0c\u53d1\u73b0\u4e0b\u4e00\u7ea7\u76ee\u5f55\u4e2d\u5df2\u7ecf\u5b58\u5728git\uff0c\u56e0\u6b64\u6211\u5e0c\u671b\u5bf9\u5176\u8fdb\u884c\u6574\u5408 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-01-15T03:05:33+00:00","dateModified":"2024-01-15T01:44:04+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93%e6%88%91%e5%b0%9d%e8%af%95%e8%bf%90%e8%a1%8cgit-init%e5%b9%b6%e6%89%a7%e8%a1%8cgit-add-%e6%97%b6%ef%bc%8c%e5%8f%91%e7%8e%b0%e4%b8%8b%e4%b8%80%e7%ba%a7%e7%9b%ae%e5%bd%95%e4%b8%ad%e5%b7%b2\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93%e6%88%91%e5%b0%9d%e8%af%95%e8%bf%90%e8%a1%8cgit-init%e5%b9%b6%e6%89%a7%e8%a1%8cgit-add-%e6%97%b6%ef%bc%8c%e5%8f%91%e7%8e%b0%e4%b8%8b%e4%b8%80%e7%ba%a7%e7%9b%ae%e5%bd%95%e4%b8%ad%e5%b7%b2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93%e6%88%91%e5%b0%9d%e8%af%95%e8%bf%90%e8%a1%8cgit-init%e5%b9%b6%e6%89%a7%e8%a1%8cgit-add-%e6%97%b6%ef%bc%8c%e5%8f%91%e7%8e%b0%e4%b8%8b%e4%b8%80%e7%ba%a7%e7%9b%ae%e5%bd%95%e4%b8%ad%e5%b7%b2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5f53\u6211\u5c1d\u8bd5\u8fd0\u884cgit init\u5e76\u6267\u884cgit add *\u65f6\uff0c\u53d1\u73b0\u4e0b\u4e00\u7ea7\u76ee\u5f55\u4e2d\u5df2\u7ecf\u5b58\u5728git\uff0c\u56e0\u6b64\u6211\u5e0c\u671b\u5bf9\u5176\u8fdb\u884c\u6574\u5408"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e","name":"\u6e05, \u5b87","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","caption":"\u6e05, \u5b87"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93%e6%88%91%e5%b0%9d%e8%af%95%e8%bf%90%e8%a1%8cgit-init%e5%b9%b6%e6%89%a7%e8%a1%8cgit-add-%e6%97%b6%ef%bc%8c%e5%8f%91%e7%8e%b0%e4%b8%8b%e4%b8%80%e7%ba%a7%e7%9b%ae%e5%bd%95%e4%b8%ad%e5%b7%b2\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=37864"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37864\/revisions"}],"predecessor-version":[{"id":58320,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37864\/revisions\/58320"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=37864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=37864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=37864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}