{"id":37787,"date":"2023-06-06T18:03:14","date_gmt":"2023-01-07T02:10:59","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/git%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95\/"},"modified":"2024-04-30T07:37:02","modified_gmt":"2024-04-29T23:37:02","slug":"git%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/git%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95\/","title":{"rendered":"Git\u4e2a\u4eba\u5907\u5fd8\u5f55"},"content":{"rendered":"<h2>\u514b\u9686\u8fdc\u7a0b\u4ed3\u5e93\uff0c\u5e76\u68c0\u51fa\u4e3b\u5206\u652f\uff08\u76ee\u5f55=\u9879\u76ee\u540d\u79f0\uff09\u3002<\/h2>\n<p>\u514b\u9686\u8be5\u4ed3\u5e93: git clone https:\/\/github.com\/foo\/hoge.git<\/p>\n<h2>\u514b\u9686\u8fdc\u7a0b\u4ee3\u7801\u5e93\uff0c\u5e76\u68c0\u51fa\u4e3b\u5206\u652f\uff08\u76ee\u5f55 \u2260 \u9879\u76ee\u540d\u79f0\uff09<\/h2>\n<p>\u4f7f\u7528\u547d\u4ee4 git clone https:\/\/github.com\/foo\/hoge.git fuga\uff0c\u514b\u9686\u5730\u5740 https:\/\/github.com\/foo\/hoge.git \u5230\u540d\u4e3a fuga \u7684\u76ee\u5f55\u4e2d\u3002<\/p>\n<h2>\u521b\u5efa\u672c\u5730\u5b58\u50a8\u5e93<\/h2>\n<p>\u521d\u59cb\u5316Git<\/p>\n<h2>\u663e\u793a\u8fdc\u7a0b\u5b58\u50a8\u5e93<\/h2>\n<p>git \u8fdc\u7a0b -v<\/p>\n<h2>\u5c06\u8fdc\u7a0b\u5b58\u50a8\u5e93origin\u6ce8\u518c<\/h2>\n<p>\u6dfb\u52a0\u8fdc\u7a0b\u4ed3\u5e93\u94fe\u63a5\u81f3Github\uff0c\u94fe\u63a5\u4e3ahttps:\/\/github.com\/ueki5\/hoge.git\u3002<\/p>\n<h2>\u66f4\u6539\u8fdc\u7a0b\u4ed3\u5e93origin\u7684URL<\/h2>\n<p>\u5c06\u4ee5\u4e0b\u5185\u5bb9\u4ee5\u4e2d\u6587\u8fdb\u884c\u672c\u5730\u5316\uff0c\u53ea\u9700\u8981\u4e00\u4e2a\u9009\u9879\uff1agit remote set-url origin https:\/\/github.com\/ueki5\/hoge.git<\/p>\n<p>\u4fee\u6539\u8fdc\u7a0b\u4ed3\u5e93\u5730\u5740\u4e3a https:\/\/github.com\/ueki5\/hoge.git<\/p>\n<h2>\u53d6\u6d88\u5bf9\u8fdc\u7a0b\u5b58\u50a8\u5e93origin\u7684\u6ce8\u518c<\/h2>\n<p>\u5220\u9664 Git \u8fdc\u7a0b\u4ed3\u5e93\u7684 origin \u8fde\u63a5\u3002<\/p>\n<h2>\u5c06\u539f\u59cb\u5b58\u50a8\u5e93\u8bbe\u7f6e\u4e3a\u8fdc\u7a0b\u5b58\u50a8\u5e93&#8221;upstream&#8221;\u3002<\/h2>\n<p>\u6dfb\u52a0\u8fdc\u7aef\u6e90\uff0c\u5730\u5740\u4e3ahttps:\/\/github.com\/foo\/hoge.git<\/p>\n<h2>\u8ffd\u968f\u539f\u9879\u76ee\uff0c\u8fdb\u884c\u5206\u53c9\u3002<\/h2>\n<p>\u66f4\u65b0\u8fdc\u7a0b\u4e0a\u6e38\u4ee3\u7801\u5e93\uff1a<br \/>\ngit fetch upstream<br \/>\n\u5207\u6362\u5230\u4e3b\u5206\u652f\uff1a<br \/>\ngit checkout master<br \/>\n\u5408\u5e76\u4e0a\u6e38\u4e3b\u5206\u652f\u7684\u4ee3\u7801\uff1a<br \/>\ngit merge upstream\/master<\/p>\n<h2>\u4ece\u672c\u5730\u5206\u652f\u63a8\u9001\u5230\u8fdc\u7a0b\u5206\u652f\uff08\u5982\u679c\u4e0d\u5b58\u5728\u5219\u521b\u5efa\uff09<\/h2>\n<p>\u5c06\u4ee3\u7801\u63a8\u9001\u5230\u8fdc\u7a0b\u4ed3\u5e93origin\u3002<\/p>\n<h2>\u786e\u8ba4\u672c\u5730\u5206\u652f\u4e0e\u8fdc\u7a0b\u5206\u652f\u7684\u5173\u8054\uff08\u8ddf\u8e2a\uff09\u3002<\/h2>\n<p>git status -sb\u53ef\u4ee5\u7528\u4ee5\u4e0b\u65b9\u5f0f\u8fdb\u884c\u6c49\u8bed\u8868\u8fbe\uff1a<br \/>\ngit \u72b6\u6001 -sb<\/p>\n<hr \/>\n<p>\u67e5\u770b\u6240\u6709\u5206\u652f\u8be6\u7ec6\u4fe1\u606f: git branch -vv\u3002<\/p>\n<h2>\u5982\u679c\u8fdc\u7a0b\u5b58\u5728\u540c\u540d\u5206\u652f\uff0c\u5219\u5c06\u5176\u590d\u5236\u5230\u672c\u5730\u5e76\u5173\u8054\uff0c\u7136\u540e\u8fdb\u884c\u68c0\u51fa\u3002<\/h2>\n<p>\u5207\u6362\u5230\u5206\u652ffoo\u3002<\/p>\n<h2>\u4ece\u5f53\u524d\u672c\u5730\u5206\u652f\u521b\u5efa\u4e00\u4e2a\u540d\u4e3afoo\u7684\u672c\u5730\u5206\u652f\uff0c\u5e76\u5207\u6362\u5230\u8be5\u5206\u652f\u3002<\/h2>\n<p>\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a&#8221;foo&#8221;\u7684\u5206\u652f\uff0c\u5e76\u5207\u6362\u5230\u8be5\u5206\u652f\u3002<\/p>\n<hr \/>\n<p>\u521b\u5efa\u5e76\u5207\u6362\u5230\u540d\u4e3afoo\u7684\u5206\u652f\u3002<\/p>\n<h2>\u5220\u9664\u672c\u5730\u5206\u652ffoo<\/h2>\n<p>\u5220\u9664\u540d\u4e3afoo\u7684\u5206\u652f<\/p>\n<h2>\u5220\u9664\u8fdc\u7a0b\u5206\u652ffoo\u3002<\/h2>\n<p>\u5c06foo\u4eceorigin\u63a8\u9001\u5e76\u5220\u9664\u3002<\/p>\n<hr \/>\n<p>\u628afoo\u63a8\u9001\u5230origin<\/p>\n<h2>\u66f4\u6539\u5206\u652f\u540d\u79f0<\/h2>\n<p>\u5c06git\u5206\u652f\u540d\u4e3a&lt;\u30d6\u30e9\u30f3\u30c1\u540d&gt;\u6539\u540d\u4e3a&lt;\u5909\u66f4\u5f8c\u30d6\u30e9\u30f3\u30c1\u540d&gt;\u3002<\/p>\n<h2>\u66f4\u6539\u5f53\u524d\u6240\u5728\u7684\u5206\u652f\u540d\u79f0<\/h2>\n<p>git\u5206\u652f -m &lt;\u66f4\u540d\u540e\u7684\u5206\u652f\u540d\u79f0&gt;<\/p>\n<h2>\u8fdb\u884c\u8fdc\u7a0b\u5206\u652f\u548c\u5f53\u524d\u672c\u5730\u5206\u652f\u7684\u5173\u8054\uff08\u8ddf\u8e2a\uff09<\/h2>\n<p>\u5c06\u5f53\u524d\u5206\u652f\u4e0e\u8fdc\u7a0b\u5206\u652f origin\/ \u5173\u8054\u8d77\u6765\u3002<\/p>\n<h2>\u8fdb\u884c\u8fdc\u7a0b\u5206\u652f\u4e0e\u672c\u5730\u5206\u652f\u7684\u5173\u8054\uff08\u8ddf\u8e2a\uff09<\/h2>\n<p>\u5c06git\u5206\u652f\u8bbe\u7f6e\u4e3a\u8ddf\u8e2a\u8fdc\u7a0b\u5206\u652forigin\/<\/p>\n<h2>\u89e3\u9664\u5f53\u524d\u672c\u5730\u5206\u652f\u7684\u8ffd\u8e2a\u94fe\u63a5\u3002<\/h2>\n<p>\u53d6\u6d88\u5f53\u524d\u5206\u652f\u7684\u4e0a\u6e38\u914d\u7f6e<\/p>\n<h2>\u89e3\u9664\u7ed1\u5b9a\u672c\u5730\u5206\u652f\uff08\u8ddf\u8e2a\uff09\u3002<\/h2>\n<p>\u53d6\u6d88\u5f53\u524d\u5206\u652f\u7684\u4e0a\u6e38\u5206\u652f\u8bbe\u7f6e\u3002<\/p>\n<h2>\u5408\u5e76\u539f\u59cb\u5206\u652f\u7684\u66f4\u6539\u3002<\/h2>\n<p>\u5c06\u6e90\u66f4\u65b0\u62c9\u53d6\u5230\u672c\u5730\u4ed3\u5e93<br \/>\n\u5207\u6362\u5230\u4e3b\u5206\u652f<br \/>\n\u5c06\u6e90\u4e3b\u5206\u652f\u5408\u5e76\u5230\u672c\u5730\u4e3b\u5206\u652f<\/p>\n<h2>\u663e\u793a\u5206\u884c\u5217\u8868<\/h2>\n<p>git\u5206\u652f -a<\/p>\n<h2>\u663e\u793a\u6807\u7b7e\u5217\u8868<\/h2>\n<p>Git\u6807\u7b7e<\/p>\n<h2>\u663e\u793aconfig\u7684\u5217\u8868<\/h2>\n<p>git config &#8211;list<br \/>\ngit config &#8211;local &#8211;list<br \/>\ngit config &#8211;global &#8211;list<br \/>\ngit config &#8211;system &#8211;list<\/p>\n<p>git \u914d\u7f6e &#8211;\u5217\u51fa\u914d\u7f6e<br \/>\ngit \u914d\u7f6e &#8211;\u672c\u5730 &#8211;\u5217\u51fa\u914d\u7f6e<br \/>\ngit \u914d\u7f6e &#8211;\u5168\u5c40 &#8211;\u5217\u51fa\u914d\u7f6e<br \/>\ngit \u914d\u7f6e &#8211;\u7cfb\u7edf &#8211;\u5217\u51fa\u914d\u7f6e<\/p>\n<h2>\u663e\u793aconfig\uff08\u4f5c\u4e3a\u9879\u76ee\u540d\uff09\u3002<\/h2>\n<p>git\u914d\u7f6e<\/p>\n<h2>\u66f4\u6539config\uff08\u9879\u540d\uff0c\u9879\u503c\uff09<\/h2>\n<p>\u66f4\u6539git\u8bbe\u7f6e<\/p>\n<h2>\u5220\u9664config\u7684\u8bbe\u7f6e<\/h2>\n<p>\u53d6\u6d88 git \u914d\u7f6e<\/p>\n<h2>\u663e\u793a\u914d\u7f6e\u7684\u5b9a\u4e49\u4f4d\u7f6e\uff08\u6807\u9898\uff09<\/h2>\n<p>&#8211;list \u547d\u4ee4\u53ef\u4ee5\u663e\u793a git \u914d\u7f6e\u7684\u6240\u6709\u9009\u9879\u548c\u5b83\u4eec\u7684\u6765\u6e90\u3002<\/p>\n<h2>\u5c06\u5b58\u50a8\u5e93\u8fc1\u79fb\u5230\u53e6\u4e00\u53f0\u670d\u52a1\u5668\u3002<\/h2>\n<p>git clone &#8211;mirror https:\/\/github.com\/ueki5\/hoge.git<br \/>\ncd hoge<br \/>\ngit push &#8211;mirror https:\/\/xxxx.com\/ueki5\/hoge.git<br \/>\n\u203b\u5728\u8fc1\u79fb\u76ee\u6807\u670d\u52a1\u5668\u4e0a\u4e0d\u9700\u8981\u5148\u521b\u5efa\u7a7a\u9879\u76ee<br \/>\n\uff08\u4f46\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u9879\u76ee\u6240\u6709\u8005\u5c06\u6210\u4e3a\u767b\u5f55\u7528\u6237\uff09<br \/>\n\u5982\u679c\u63d0\u524d\u521b\u5efa\u9879\u76ee\uff0c<br \/>\n\u6839\u636e\u9700\u8981\u89e3\u9664\u8fc1\u79fb\u76ee\u6807\u4e3b\u5206\u652f\u7684\u4fdd\u62a4\uff08\u8bbe\u7f6e\u2192\u5b58\u50a8\u5e93\u2192\u89e3\u9664\u4fdd\u62a4\uff09<\/p>\n<h2>\u6267\u884c\u5220\u9664\u5916\u90e8\u6587\u4ef6\uff08\u6d4b\u8bd5\u6267\u884c\uff09\u3002<\/h2>\n<p>\u6e05\u9664\u672a\u88ab\u7248\u672c\u63a7\u5236\u7684\u6587\u4ef6\u548c\u6587\u4ef6\u5939\uff0c\u5e76\u663e\u793a\u8981\u5220\u9664\u7684\u5185\u5bb9\u3002<\/p>\n<h2>\u5220\u9664\u7ba1\u7406\u7684\u5916\u90e8\u6587\u4ef6<\/h2>\n<p>git clean -df \u5bf9\u672c\u5730\u5de5\u4f5c\u76ee\u5f55\u8fdb\u884c\u6e05\u7406<\/p>\n<h2>\u6aa2\u7d22\u904e\u53bb\u8a18\u9304<\/h2>\n<p>\u5728\u6240\u6709\u7684Git\u7248\u672c\u4e2d\uff0c\u4f7f\u7528 git grep -w &#8216;\u691c\u7d22\u30ef\u30fc\u30c9&#8217; \u547d\u4ee4\u8fdb\u884c\u641c\u7d22\u3002<\/p>\n<h2>\u4f7f\u7528grep\u547d\u4ee4(\u4f7f\u7528\u6269\u5c55\u6b63\u5219\u8868\u8fbe\u5f0f\u8fdb\u884c\u641c\u7d22)\u6765\u67e5\u627e\u8fc7\u5f80\u8bb0\u5f55\u3002<\/h2>\n<p>\u4f7f\u7528 Git \u547d\u4ee4\u5728\u6240\u6709\u63d0\u4ea4\u8bb0\u5f55\u4e2d\u8fdb\u884c\u5168\u5c40\u641c\u7d22\uff0c\u641c\u7d22\u6a21\u5f0f\u4e3a `-E` \u6b63\u5219\u8868\u8fbe\u5f0f\u6a21\u5f0f\u548c `-w` \u5b8c\u5168\u5339\u914d\u6a21\u5f0f\uff0c\u641c\u7d22\u7684\u5173\u952e\u8bcd\u662f &#8216;\u691c\u7d22\u30ef\u30fc\u30c9&#8217;\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u514b\u9686\u8fdc\u7a0b\u4ed3\u5e93\uff0c\u5e76\u68c0\u51fa\u4e3b\u5206\u652f\uff08\u76ee\u5f55=\u9879\u76ee\u540d\u79f0\uff09\u3002 \u514b\u9686\u8be5\u4ed3\u5e93: git clone https:\/\/github [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-37787","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>Git\u4e2a\u4eba\u5907\u5fd8\u5f55 - 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\/git\u4e2a\u4eba\u5907\u5fd8\u5f55\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Git\u4e2a\u4eba\u5907\u5fd8\u5f55\" \/>\n<meta property=\"og:description\" content=\"\u514b\u9686\u8fdc\u7a0b\u4ed3\u5e93\uff0c\u5e76\u68c0\u51fa\u4e3b\u5206\u652f\uff08\u76ee\u5f55=\u9879\u76ee\u540d\u79f0\uff09\u3002 \u514b\u9686\u8be5\u4ed3\u5e93: git clone https:\/\/github [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/git\u4e2a\u4eba\u5907\u5fd8\u5f55\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-07T02:10:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T23:37:02+00:00\" \/>\n<meta name=\"author\" content=\"\u6587, \u7fd4\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6587, \u7fd4\" \/>\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\/git%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/git%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95\/\",\"name\":\"Git\u4e2a\u4eba\u5907\u5fd8\u5f55 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-01-07T02:10:59+00:00\",\"dateModified\":\"2024-04-29T23:37:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/git%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/git%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/git%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Git\u4e2a\u4eba\u5907\u5fd8\u5f55\"}]},{\"@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\/64d5cc7727fffbff2f9a2a8da1de3e5c\",\"name\":\"\u6587, \u7fd4\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g\",\"caption\":\"\u6587, \u7fd4\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/wenxiang\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/git%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Git\u4e2a\u4eba\u5907\u5fd8\u5f55 - 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\/git\u4e2a\u4eba\u5907\u5fd8\u5f55\/","og_locale":"zh_CN","og_type":"article","og_title":"Git\u4e2a\u4eba\u5907\u5fd8\u5f55","og_description":"\u514b\u9686\u8fdc\u7a0b\u4ed3\u5e93\uff0c\u5e76\u68c0\u51fa\u4e3b\u5206\u652f\uff08\u76ee\u5f55=\u9879\u76ee\u540d\u79f0\uff09\u3002 \u514b\u9686\u8be5\u4ed3\u5e93: git clone https:\/\/github [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/git\u4e2a\u4eba\u5907\u5fd8\u5f55\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-01-07T02:10:59+00:00","article_modified_time":"2024-04-29T23:37:02+00:00","author":"\u6587, \u7fd4","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6587, \u7fd4","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/git%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/git%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95\/","name":"Git\u4e2a\u4eba\u5907\u5fd8\u5f55 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-01-07T02:10:59+00:00","dateModified":"2024-04-29T23:37:02+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/git%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/git%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/git%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"Git\u4e2a\u4eba\u5907\u5fd8\u5f55"}]},{"@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\/64d5cc7727fffbff2f9a2a8da1de3e5c","name":"\u6587, \u7fd4","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g","caption":"\u6587, \u7fd4"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/wenxiang\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/git%e4%b8%aa%e4%ba%ba%e5%a4%87%e5%bf%98%e5%bd%95\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37787","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\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=37787"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37787\/revisions"}],"predecessor-version":[{"id":90574,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37787\/revisions\/90574"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=37787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=37787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=37787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}