{"id":37800,"date":"2023-11-25T21:11:04","date_gmt":"2023-05-07T04:46:13","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/git-%e5%88%86%e6%94%af%e7%9a%84%e5%91%bd%e5%90%8d%e8%a7%84%e5%88%99\/"},"modified":"2024-05-04T10:46:49","modified_gmt":"2024-05-04T02:46:49","slug":"git-%e5%88%86%e6%94%af%e7%9a%84%e5%91%bd%e5%90%8d%e8%a7%84%e5%88%99","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/git-%e5%88%86%e6%94%af%e7%9a%84%e5%91%bd%e5%90%8d%e8%a7%84%e5%88%99\/","title":{"rendered":"Git \u5206\u652f\u7684\u547d\u540d\u89c4\u5219"},"content":{"rendered":"<h1>Git \u7684\u5206\u652f\u547d\u540d\u89c4\u5219<\/h1>\n<p>\u5728\u4f7f\u7528git\u521b\u5efa\u5206\u652f\u65f6\uff0c\u6709\u547d\u540d\u89c4\u5219\u3002<br \/>\n\u5728\u4e00\u822c\u5b66\u4e60\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u4ecemain\u6216master\u5206\u652f\u521b\u5efa\u65b0\u7684\u5206\u652f\uff0c\u4f46\u5728\u5b9e\u9645\u5de5\u4f5c\u4e2d\u662f\u4e0d\u53ef\u884c\u7684\u3002<br \/>\n\u6211\u4eec\u4f1a\u4ecedevelop\u6216feature\u5206\u652f\u521b\u5efa\u65b0\u7684\u5206\u652f\u3002<\/p>\n<h1>\u547d\u540d\u89c4\u5219\u7684\u79cd\u7c7b<\/h1>\n<p>\u8fd9\u662f\u547d\u540d\u89c4\u5219\u7684\u79cd\u7c7b\u3002<\/p>\n<div>\n<div class=\"post-table\">\u30d6\u30e9\u30f3\u30c1\u540d\u5f79\u5272\u6d3e\u751f\u5143\u30de\u30fc\u30b8\u5148<em><strong>master<\/strong><\/em>\u3000\u516c\u958b\u3059\u308b\u3082\u306e\u3092\u7f6e\u304f\u30d6\u30e9\u30f3\u30c1<br \/>\n\u3053\u3053\u306e\u30d6\u30e9\u30f3\u30c1\u306e\u74b0\u5883\u3067\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3059\u3002\u30d6\u30e9\u30f3\u30c1\u306e\u8d77\u70b9\u307f\u305f\u3044\u306a\u30a4\u30e1\u30fc\u30b8<strong>develop<\/strong>\u958b\u767a\u4e2d\u306e\u3082\u306e\u3092\u7f6e\u304f\u30d6\u30e9\u30f3\u30c1\u3000\u3000\u3000\u3000\u3000\u3000(\u3053\u306edevelpp\u30d6\u30e9\u30f3\u30c1\u304b\u3089feature\u306a\u3069\u30d6\u30e9\u30f3\u30c1\u3092\u5207\u3063\u3066\u3044\u304d\u307e\u3059\u3002\u3044\u304d\u306a\u308amaster\u304b\u3089\u30d6\u30e9\u30f3\u30c1\u3092\u5207\u3063\u3066\u4f5c\u696d\u306f\u306a\u3044\u306e\u3067\u3001master\u30d6\u30e9\u30f3\u30c1\u306e\u30af\u30c3\u30b7\u30e7\u30f3\u306e\u3088\u3046\u306a\u5f79\u5272)mastermaster<strong>release<\/strong>\u6b21\u306b\u30ea\u30ea\u30fc\u30b9\u3059\u308b\u3082\u306e\u3092\u7f6e\u304f\u30d6\u30e9\u30f3\u30c1developdevelop, master<em><strong>feature-<\/strong><\/em>*\u3000\u65b0\u6a5f\u80fd\u958b\u767a\u4e2d\u306b\u4f7f\u3046\u30d6\u30e9\u30f3\u30c1\u3000develop\u3000\u3000develop<em><strong>hotfix-<\/strong><\/em>*\u516c\u958b\u4e2d\u306e\u3082\u306e\u306e\u30d0\u30b0\u4fee\u6b63\u7528\u30d6\u30e9\u30f3\u30c1master\u3000develop,\u3000master<\/div>\n<\/div>\n<p>\u7ed9*\u7279\u6027-*\u6216\u70ed\u4fee\u590d-*\u8d77\u4e00\u4e2a\u9002\u5f53\u7684\u540d\u79f0\u3002<\/p>\n<p>\u56e0\u4e3a\u8fd9\u4e9b\u662f\u547d\u540d\u89c4\u8303\uff0c\u4ee5\u540e\u8981\u8fdb\u5165\u73b0\u573a\u7684\u4eba\u8981\u5c0f\u5fc3\u3002<\/p>\n<h1>\u5982\u4f55\u5177\u4f53\u5730\u5199\uff1f<\/h1>\n<p>\u5177\u4f53\u6765\u8bf4\uff0c\u4f1a\u50cf\u4ee5\u4e0b\u8fd9\u6837\u5199\uff08\u6839\u636e\u73b0\u573a\u7684\u4e0d\u540c\u53ef\u80fd\u4f1a\u6709\u4e00\u4e9b\u53d8\u5316\uff09\u3002<\/p>\n<pre class=\"post-pre\"><code>taro% git branch              \r\n* development\r\n  feature\/36\r\n<\/code><\/pre>\n<p>\u8865\u5145\uff1a<br \/>\n&#8211; \u53ef\u80fd\u4f1a\u4f7f\u7528development\u800c\u4e0d\u662fdevelop\u8fdb\u884c\u4e66\u5199\u3002<br \/>\n&#8211; 36\u662f\u4efb\u52a1\u7684\u7f16\u53f7\u3002<\/p>\n<p>\u26ab\ufe0e \u8bf7\u53c2\u8003\u4ee5\u4e0b\u8d44\u6599<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Git \u7684\u5206\u652f\u547d\u540d\u89c4\u5219 \u5728\u4f7f\u7528git\u521b\u5efa\u5206\u652f\u65f6\uff0c\u6709\u547d\u540d\u89c4\u5219\u3002 \u5728\u4e00\u822c\u5b66\u4e60\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u4ecemain\u6216master [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-37800","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 \u5206\u652f\u7684\u547d\u540d\u89c4\u5219 - 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-\u5206\u652f\u7684\u547d\u540d\u89c4\u5219\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Git \u5206\u652f\u7684\u547d\u540d\u89c4\u5219\" \/>\n<meta property=\"og:description\" content=\"Git \u7684\u5206\u652f\u547d\u540d\u89c4\u5219 \u5728\u4f7f\u7528git\u521b\u5efa\u5206\u652f\u65f6\uff0c\u6709\u547d\u540d\u89c4\u5219\u3002 \u5728\u4e00\u822c\u5b66\u4e60\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u4ecemain\u6216master [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/git-\u5206\u652f\u7684\u547d\u540d\u89c4\u5219\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-07T04:46:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-04T02:46:49+00:00\" \/>\n<meta name=\"author\" content=\"\u96c5, \u609f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u96c5, \u609f\" \/>\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-%e5%88%86%e6%94%af%e7%9a%84%e5%91%bd%e5%90%8d%e8%a7%84%e5%88%99\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/git-%e5%88%86%e6%94%af%e7%9a%84%e5%91%bd%e5%90%8d%e8%a7%84%e5%88%99\/\",\"name\":\"Git \u5206\u652f\u7684\u547d\u540d\u89c4\u5219 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-05-07T04:46:13+00:00\",\"dateModified\":\"2024-05-04T02:46:49+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/git-%e5%88%86%e6%94%af%e7%9a%84%e5%91%bd%e5%90%8d%e8%a7%84%e5%88%99\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/git-%e5%88%86%e6%94%af%e7%9a%84%e5%91%bd%e5%90%8d%e8%a7%84%e5%88%99\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/git-%e5%88%86%e6%94%af%e7%9a%84%e5%91%bd%e5%90%8d%e8%a7%84%e5%88%99\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Git \u5206\u652f\u7684\u547d\u540d\u89c4\u5219\"}]},{\"@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\/f044a4b7fa4ee2701702942002419ca6\",\"name\":\"\u96c5, \u609f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g\",\"caption\":\"\u96c5, \u609f\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yawu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/git-%e5%88%86%e6%94%af%e7%9a%84%e5%91%bd%e5%90%8d%e8%a7%84%e5%88%99\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Git \u5206\u652f\u7684\u547d\u540d\u89c4\u5219 - 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-\u5206\u652f\u7684\u547d\u540d\u89c4\u5219\/","og_locale":"zh_CN","og_type":"article","og_title":"Git \u5206\u652f\u7684\u547d\u540d\u89c4\u5219","og_description":"Git \u7684\u5206\u652f\u547d\u540d\u89c4\u5219 \u5728\u4f7f\u7528git\u521b\u5efa\u5206\u652f\u65f6\uff0c\u6709\u547d\u540d\u89c4\u5219\u3002 \u5728\u4e00\u822c\u5b66\u4e60\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u4ecemain\u6216master [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/git-\u5206\u652f\u7684\u547d\u540d\u89c4\u5219\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-05-07T04:46:13+00:00","article_modified_time":"2024-05-04T02:46:49+00:00","author":"\u96c5, \u609f","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u96c5, \u609f"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/git-%e5%88%86%e6%94%af%e7%9a%84%e5%91%bd%e5%90%8d%e8%a7%84%e5%88%99\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/git-%e5%88%86%e6%94%af%e7%9a%84%e5%91%bd%e5%90%8d%e8%a7%84%e5%88%99\/","name":"Git \u5206\u652f\u7684\u547d\u540d\u89c4\u5219 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-05-07T04:46:13+00:00","dateModified":"2024-05-04T02:46:49+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/git-%e5%88%86%e6%94%af%e7%9a%84%e5%91%bd%e5%90%8d%e8%a7%84%e5%88%99\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/git-%e5%88%86%e6%94%af%e7%9a%84%e5%91%bd%e5%90%8d%e8%a7%84%e5%88%99\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/git-%e5%88%86%e6%94%af%e7%9a%84%e5%91%bd%e5%90%8d%e8%a7%84%e5%88%99\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"Git \u5206\u652f\u7684\u547d\u540d\u89c4\u5219"}]},{"@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\/f044a4b7fa4ee2701702942002419ca6","name":"\u96c5, \u609f","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g","caption":"\u96c5, \u609f"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yawu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/git-%e5%88%86%e6%94%af%e7%9a%84%e5%91%bd%e5%90%8d%e8%a7%84%e5%88%99\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37800","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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=37800"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37800\/revisions"}],"predecessor-version":[{"id":97863,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37800\/revisions\/97863"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=37800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=37800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=37800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}