{"id":37890,"date":"2023-10-01T04:55:22","date_gmt":"2023-05-16T03:21:13","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8git%e5%92%8cgithub%e6%9d%a5%e6%9e%84%e5%bb%bagit-flow%e3%80%82\/"},"modified":"2024-05-04T02:18:22","modified_gmt":"2024-05-03T18:18:22","slug":"%e4%bd%bf%e7%94%a8git%e5%92%8cgithub%e6%9d%a5%e6%9e%84%e5%bb%bagit-flow%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8git%e5%92%8cgithub%e6%9d%a5%e6%9e%84%e5%bb%bagit-flow%e3%80%82\/","title":{"rendered":"\u4f7f\u7528Git\u548cGitHub\u6765\u6784\u5efaGit-Flow"},"content":{"rendered":"<h1>\u603b\u7ed3<\/h1>\n<p>\u5982\u679c\u8981\u5f00\u53d1\u4e00\u4e2a\u8003\u8651\u5230\u5171\u540c\u5f00\u53d1\u548c\u4f5c\u4e3a\u4ee3\u7801\u5e93\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u9700\u8981\u5728GitHub\u4e0a\u8fdb\u884c\u7ba1\u7406\u3002\u4ee5\u4e0b\u603b\u7ed3\u4e86GitHub\u548cGit\u7684\u521d\u59cb\u8bbe\u7f6e\u8fc7\u7a0b\u3002\u672c\u6b21\u5047\u8bbe\u57fa\u4e8eGit-Flow\u8fdb\u884c\u5f00\u53d1\uff0c\u5e76\u642d\u5efa\u8d77\u4ece\u5f00\u59cb\u5f00\u53d1\u5230\u5b8c\u6210\u7684\u6d41\u7a0b\u3002\u8fd9\u79cd\u65b9\u6cd5\u53ea\u662f\u5176\u4e2d\u4e00\u79cd\u793a\u4f8b\uff0c\u8fd8\u6709\u5176\u4ed6\u65b9\u5f0f\u53ef\u4f9b\u53c2\u8003\u3002<\/p>\n<h1>\u5173\u4e8eGit-Flow<\/h1>\n<p>\u7531\u4e8eGit-Flow\u7684\u6587\u7ae0\u7ecf\u5e38\u88ab\u770b\u5230\uff0c\u6240\u4ee5\u5728\u8fd9\u91cc\u7b80\u8981\u89e3\u91ca\u4e00\u4e0b\u3002\u5927\u81f4\u4e0a\u6709\u4e3b\u5206\u652f\u3001\u53d1\u5e03\u5206\u652f\u3001\u5f00\u53d1\u5206\u652f\u548c\u7279\u6027\u5206\u652f\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">main\u30d6\u30e9\u30f3\u30c1<\/ul>\n<\/li>\n<\/ul>\n<p>\u5e38\u306b\u30ea\u30ea\u30fc\u30b9\u53ef\u80fd\u3067\u3042\u308b\u5b89\u5b9a\u3057\u305f\u30d6\u30e9\u30f3\u30c1<\/p>\n<p>release\u30d6\u30e9\u30f3\u30c1<\/p>\n<p>\u30ea\u30ea\u30fc\u30b9\u304c\u884c\u308f\u308b\u969b\u306b\u767a\u751f\u3059\u308b\u30d6\u30e9\u30f3\u30c1<br \/>\n\u30ea\u30ea\u30fc\u30b9\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u4ed8\u4e0e\u306a\u3069\u3092\u884c\u3046<\/p>\n<p>develop\u30d6\u30e9\u30f3\u30c1<\/p>\n<p>\u958b\u767a\u306e\u4e2d\u5fc3\u3068\u306a\u308b\u30d6\u30e9\u30f3\u30c1<br \/>\nfeature\u30d6\u30e9\u30f3\u30c1\u306e\u7d44\u307f\u8fbc\u307f\u30d6\u30e9\u30f3\u30c1\u3068\u3057\u3066\u306e\u5f79\u5272\u3092\u6301\u3064<\/p>\n<p>feature\u30d6\u30e9\u30f3\u30c1<\/p>\n<p>develop\u304b\u3089\u6a5f\u80fd\u958b\u767a\u3092\u884c\u3046\u969b\u306b\u4f5c\u6210\u3055\u308c\u308b\u30d6\u30e9\u30f3\u30c1<br \/>\n\u57fa\u672c\u7684\u306b\u306f\u4f55\u304b\u5909\u66f4\u884c\u3046\u969b\u306b\u306f\u307e\u305afeature\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u3063\u3066\u5909\u66f4\u3092\u884c\u3044\u3001\u7d42\u308f\u3063\u305f\u3089develop\u306b\u30de\u30fc\u30b8\u3059\u308b\u3068\u3044\u3046\u30d7\u30ed\u30bb\u30b9\u304c\u4e00\u822c\u7684<\/p>\n<p>\u5728Git-Flow\u4e2d\uff0c\u6839\u636e\u7528\u9014\u5b58\u5728\u5404\u79cd\u4e0d\u540c\u7684\u5206\u652f\uff0c\u4f46\u672c\u6b21\u5c06\u7b80\u8981\u4ecb\u7ecd\u521b\u5efa\u6700\u57fa\u672c\u7684\u7528\u4e8e\u5f00\u59cb\u5f00\u53d1\u7684\u4e3b\u8981\u5206\u652f\u3001\u5f00\u53d1\u5206\u652f\u548c\u529f\u80fd\u5206\u652f\u3002<\/p>\n<h1>1. \u5173\u4e8eGitHub\u7684\u8bbe\u7f6e\u3002<\/h1>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u65b0\u898f\u4f5c\u6210<\/ul>\n<\/li>\n<\/ul>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u540d\u3001\u8aac\u660e\u6587\u3092\u8a18\u8f09\u3002<br \/>\n\u516c\u958b\u3059\u308b\u306e\u304b\u3001\u516c\u958b\u3057\u306a\u3044\u306e\u304b\u3092\u9078\u629e<br \/>\nREADME.md, .gitignore, license\u30d5\u30a1\u30a4\u30eb\u306f\u4eca\u306e\u6bb5\u968e\u3067\u306f\u4f5c\u6210\u3057\u306a\u3044<br \/>\n\u8a18\u5165\u51fa\u6765\u305f\u3089&#8221;create repository&#8221;\u3092\u62bc\u3059<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d30f937434c4406c5d906\/8-0.png\" alt=\"image.png\" \/><\/div>\n<h1>2. Git\u7684\u914d\u7f6e\u8bbe\u7f6e<\/h1>\n<h3>2.1\u514b\u9686\u8fdc\u7a0b\u4ed3\u5e93<\/h3>\n<p>1. \u514b\u9686\u5df2\u7ecf\u521b\u5efa\u7684\u4ed3\u5e93\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span>git clone https:\/\/github.com\/Yuki-TU\/next.git\r\nCloning into <span class=\"s1\">'next'<\/span>...\r\nwarning: You appear to have cloned an empty repository.\r\n<\/code><\/pre>\n<h3>2.2 \u6dfb\u52a0\u548c\u7f16\u8f91README.md\u6587\u4ef6<\/h3>\n<p>\u521b\u5efaREADME.md\u6587\u4ef6\u3002README.md\u6587\u4ef6\u7528\u4e8e\u63cf\u8ff0\u4ed3\u5e93\u7684\u6982\u8ff0\u548c\u8bf4\u660e\uff0c\u53ef\u4ee5\u6839\u636eMarkdown\u8bed\u6cd5\u8fdb\u884c\u7f16\u5199\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span><span class=\"nb\">touch <\/span>README.md\r\n<span class=\"nv\">$ <\/span>nano README.md     <span class=\"c\"># \u597d\u304d\u306a\u30a8\u30c7\u30a3\u30bf\u3067\u7de8\u96c6<\/span>\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code><span class=\"gh\"># \u6982\u8981<\/span>\r\n\u3053\u308c\u306fnext.js\u306b\u3088\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3059\r\n<\/code><\/pre>\n<h3>2.3 \u63d0\u4ea4<\/h3>\n<p>\u63d0\u4ea4\u5df2\u521b\u5efa\u7684\u6587\u4ef6\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span>git add <span class=\"nb\">.<\/span>\r\n<span class=\"nv\">$ <\/span>git commit <span class=\"nt\">-m<\/span> <span class=\"s2\">\"README.md\u306e\u8ffd\u52a0\"<\/span>\r\n<\/code><\/pre>\n<h3>\u5c06\u4ee3\u7801\u63a8\u9001\u5230GitHub\u76842.4\u7248\u672c\u3002<\/h3>\n<p>\u5c06\u4e3b\u5206\u652f\u91cd\u547d\u540d\u4e3amain\u5e76\u63a8\u9001\u3002\u63a8\u9001\u662f\u6307\u5c06\u672c\u5730\u5206\u652f\u7684\u4ee3\u7801\u4e0a\u4f20\u5230\u8fdc\u7a0b\u4ee3\u7801\u4ed3\u5e93\u7684\u547d\u4ee4\u3002\u5728\u8fd9\u91cc\uff0corigin\u8868\u793a\u8fdc\u7a0b\u4ee3\u7801\u4ed3\u5e93\u7684URL\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span>git branch <span class=\"nt\">-M<\/span> main       <span class=\"c\"># \u30d6\u30e9\u30f3\u30c1\u540d\u3092main\u306b\u30ea\u30cd\u30fc\u30e0<\/span>\r\n<span class=\"nv\">$ <\/span>git push <span class=\"nt\">-u<\/span> origin main  <span class=\"c\"># -u\u306f\u30ea\u30e2\u30fc\u30c8\u8ffd\u8de1\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3<\/span>\r\n<\/code><\/pre>\n<h1>3. \u5728GitHub\u4e0a\u91cd\u65b0\u8fdb\u884c\u8bbe\u7f6e\u3002<\/h1>\n<p>\u6d4f\u89c8GitHub\u4e0a\u7684\u76f8\u5173\u5b58\u50a8\u5e93\uff0c\u53ef\u4ee5\u770b\u5230main\u5206\u652f\u5df2\u7ecf\u66f4\u65b0\u3002\u5728Git-Flow\u4e2d\uff0cmain\u5206\u652f\u7528\u4e8e\u4fdd\u8bc1\u8d28\u91cf\u7684\u53d1\u5e03\u5206\u652f\uff0c\u5e73\u65f6\u5f00\u53d1\u4f7f\u7528develop\u5206\u652f\u3002\u4ee5\u4e0b\u662f\u521b\u5efadevelop\u5206\u652f\u7684\u6b65\u9aa4\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d30f937434c4406c5d906\/25-0.png\" alt=\"image.png\" \/><\/div>\n<h3>\u521b\u5efa3.1\u7248\u672c\u7684\u5f00\u53d1\u5206\u652f\u3002<\/h3>\n<p>\u4ecemain\u5206\u652f\u521b\u5efadevelop\u5206\u652f\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d30f937434c4406c5d906\/28-0.png\" alt=\"image.png\" \/><\/div>\n<h3>\u5c063.2 develop\u5206\u652f\u8bbe\u4e3a\u9ed8\u8ba4\u5206\u652f\u3002<\/h3>\n<p>\u5728\u8fdb\u884c\u5f00\u53d1\u65f6\uff0c\u4e3b\u5206\u652f\u662fdevelop\u5206\u652f\uff0c\u56e0\u6b64\u9700\u8981\u5c06\u9ed8\u8ba4\u5206\u652f\u8bbe\u7f6e\u4e3adevelop\u5206\u652f\u3002\u53ef\u4ee5\u901a\u8fc7GitHub\u7684\u5404\u4e2a\u4ed3\u5e93\u8bbe\u7f6e-&gt;\u5206\u652f-&gt;\u9ed8\u8ba4\u5206\u652f\u8fdb\u884c\u66f4\u6539\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d30f937434c4406c5d906\/31-0.png\" alt=\"image.png\" \/><\/div>\n<h1>\u628adevelop\u5206\u652f\u62c9\u5230\u672c\u5730<\/h1>\n<p>\u901a\u8fc7\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff0c\u53ef\u4ee5\u5c06develop\u5206\u652f\u4fdd\u5b58\u4e3a\u672c\u5730\u5206\u652f\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span>git fetch         <span class=\"c\"># \u30ea\u30e2\u30fc\u30c8\u8ffd\u8de1\u30d6\u30e9\u30f3\u30c1\u306e\u66f4\u65b0<\/span>\r\n<span class=\"nv\">$ <\/span>git branch <span class=\"nt\">-a<\/span>     <span class=\"c\"># \u30ea\u30e2\u30fc\u30c8\u8ffd\u8de1\u30d6\u30e9\u30f3\u30c1\u3068\u30ed\u30fc\u30ab\u30eb\u30d6\u30e9\u30f3\u30c1\u306e\u8868\u793a<\/span>\r\n<span class=\"k\">*<\/span> main\r\n  remotes\/origin\/develop\r\n  remotes\/origin\/main\r\n<span class=\"nv\">$ <\/span>git switch <span class=\"nt\">-c<\/span> develop remotes\/origin\/develop   <span class=\"c\"># \u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u4f5c\u6210\u3057\u305fdevelop\u30d6\u30e9\u30f3\u30c1\u3092develop\u3068\u3044\u3046\u540d\u524d\u3067\u30ed\u30fc\u30ab\u30eb\u306b\u4fdd\u5b58<\/span>\r\n<span class=\"nv\">$ <\/span>git branch       <span class=\"c\"># \u30ed\u30fc\u30ab\u30eb\u30d6\u30e9\u30f3\u30c1\u306e\u8868\u793a<\/span>\r\n<span class=\"k\">*<\/span> develop\r\n  main\r\n<\/code><\/pre>\n<h1>\u521b\u5efafeature\u5206\u652f<\/h1>\n<p>\u6700\u540e\uff0c\u6211\u4eec\u6765\u8ba8\u8bba\u4e00\u4e0b\u521b\u5efafeature\u5206\u652f\u7684\u6b65\u9aa4\u3002\u9996\u5148\uff0c\u5207\u6362\u5230develop\u5206\u652f\u3002\u7136\u540e\uff0c\u6267\u884cpull\u547d\u4ee4\uff0c\u5c06develop\u5206\u652f\u66f4\u65b0\u5230\u6700\u65b0\u72b6\u6001\u3002\u63a5\u4e0b\u6765\uff0c\u4ecedevelop\u5206\u652f\u521b\u5efa\u4e00\u4e2afeature\u5206\u652f\uff08\u5728\u4e0b\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u5206\u652f\u540d\u4e3afeature\/issue#1\/create_base_app\uff09\uff0c\u5e76\u5207\u6362\u5230feature\u5206\u652f\u3002\u5728\u8fd9\u4e2a\u72b6\u6001\u4e0b\uff0c\u6211\u4eec\u53ef\u4ee5\u5f00\u59cb\u7f16\u5199\u5b9e\u73b0\u529f\u80fd\u7684\u6e90\u4ee3\u7801\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span>git switch develop      <span class=\"c\"># develop\u30d6\u30e9\u30f3\u30c1\u306b\u79fb\u52d5<\/span>\r\n<span class=\"nv\">$ <\/span>git pull                <span class=\"c\"># fetch + merge(\u901a\u5e38\u306fdevelop\u30d6\u30e9\u30f3\u30c1\u306f\u6700\u65b0\u306e\u72b6\u614b\u306b\u3059\u308b)<\/span>\r\n<span class=\"nv\">$ <\/span>git switch <span class=\"nt\">-c<\/span> feature\/issue#1\/create_base_app     <span class=\"c\"># develop\u30d6\u30e9\u30f3\u30c1\u3088\u308afeature\u30d6\u30e9\u30f3\u30c1\u3092\u5207\u3063\u3066\u79fb\u52d5<\/span>\r\n<\/code><\/pre>\n<h1>\u6700\u540e<\/h1>\n<p>\u4ee5\u4e0a\u3067\u3001\u6211\u5df2\u7ecf\u6210\u529f\u521b\u5efa\u4e86develop\u5206\u652f\u3001main\u5206\u652f\u548cfeature\u5206\u652f\u3002\u73b0\u5728\u53ea\u9700\u8981\u5728feature\u5206\u652f\u4e0a\u7f16\u5199\u4ee3\u7801\uff0c\u7136\u540e\u53d1\u9001\u62c9\u53d6\u8bf7\u6c42\uff0c\u5c06\u5176\u5408\u5e76\u5230develop\u5206\u652f\u4e0a\u8fdb\u884c\u5f00\u53d1\u5373\u53ef\u3002<br \/>\n\u5982\u679c\u6709\u4efb\u4f55\u9519\u8bef\uff0c\u8bf7\u60a8\u7559\u4e0b\u8bc4\u8bba\uff0c\u975e\u5e38\u611f\u8c22\u3002<\/p>\n<h1>\u8bf7\u53c2\u8003<\/h1>\n","protected":false},"excerpt":{"rendered":"<p>\u603b\u7ed3 \u5982\u679c\u8981\u5f00\u53d1\u4e00\u4e2a\u8003\u8651\u5230\u5171\u540c\u5f00\u53d1\u548c\u4f5c\u4e3a\u4ee3\u7801\u5e93\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u9700\u8981\u5728GitHub\u4e0a\u8fdb\u884c\u7ba1\u7406\u3002\u4ee5\u4e0b\u603b\u7ed3\u4e86GitHub [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-37890","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>\u4f7f\u7528Git\u548cGitHub\u6765\u6784\u5efaGit-Flow - 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\/\u4f7f\u7528git\u548cgithub\u6765\u6784\u5efagit-flow\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528Git\u548cGitHub\u6765\u6784\u5efaGit-Flow\" \/>\n<meta property=\"og:description\" content=\"\u603b\u7ed3 \u5982\u679c\u8981\u5f00\u53d1\u4e00\u4e2a\u8003\u8651\u5230\u5171\u540c\u5f00\u53d1\u548c\u4f5c\u4e3a\u4ee3\u7801\u5e93\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u9700\u8981\u5728GitHub\u4e0a\u8fdb\u884c\u7ba1\u7406\u3002\u4ee5\u4e0b\u603b\u7ed3\u4e86GitHub [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528git\u548cgithub\u6765\u6784\u5efagit-flow\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-16T03:21:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-03T18:18:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d30f937434c4406c5d906\/8-0.png\" \/>\n<meta name=\"author\" content=\"\u79d1, \u96c5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79d1, \u96c5\" \/>\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\/%e4%bd%bf%e7%94%a8git%e5%92%8cgithub%e6%9d%a5%e6%9e%84%e5%bb%bagit-flow%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8git%e5%92%8cgithub%e6%9d%a5%e6%9e%84%e5%bb%bagit-flow%e3%80%82\/\",\"name\":\"\u4f7f\u7528Git\u548cGitHub\u6765\u6784\u5efaGit-Flow - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-05-16T03:21:13+00:00\",\"dateModified\":\"2024-05-03T18:18:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8git%e5%92%8cgithub%e6%9d%a5%e6%9e%84%e5%bb%bagit-flow%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8git%e5%92%8cgithub%e6%9d%a5%e6%9e%84%e5%bb%bagit-flow%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8git%e5%92%8cgithub%e6%9d%a5%e6%9e%84%e5%bb%bagit-flow%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528Git\u548cGitHub\u6765\u6784\u5efaGit-Flow\"}]},{\"@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\/41e222757cdd2a3365361328bd79970a\",\"name\":\"\u79d1, \u96c5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u96c5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8git%e5%92%8cgithub%e6%9d%a5%e6%9e%84%e5%bb%bagit-flow%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528Git\u548cGitHub\u6765\u6784\u5efaGit-Flow - 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\/\u4f7f\u7528git\u548cgithub\u6765\u6784\u5efagit-flow\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528Git\u548cGitHub\u6765\u6784\u5efaGit-Flow","og_description":"\u603b\u7ed3 \u5982\u679c\u8981\u5f00\u53d1\u4e00\u4e2a\u8003\u8651\u5230\u5171\u540c\u5f00\u53d1\u548c\u4f5c\u4e3a\u4ee3\u7801\u5e93\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u9700\u8981\u5728GitHub\u4e0a\u8fdb\u884c\u7ba1\u7406\u3002\u4ee5\u4e0b\u603b\u7ed3\u4e86GitHub [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528git\u548cgithub\u6765\u6784\u5efagit-flow\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-05-16T03:21:13+00:00","article_modified_time":"2024-05-03T18:18:22+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d30f937434c4406c5d906\/8-0.png"}],"author":"\u79d1, \u96c5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u96c5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8git%e5%92%8cgithub%e6%9d%a5%e6%9e%84%e5%bb%bagit-flow%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8git%e5%92%8cgithub%e6%9d%a5%e6%9e%84%e5%bb%bagit-flow%e3%80%82\/","name":"\u4f7f\u7528Git\u548cGitHub\u6765\u6784\u5efaGit-Flow - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-05-16T03:21:13+00:00","dateModified":"2024-05-03T18:18:22+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8git%e5%92%8cgithub%e6%9d%a5%e6%9e%84%e5%bb%bagit-flow%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8git%e5%92%8cgithub%e6%9d%a5%e6%9e%84%e5%bb%bagit-flow%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8git%e5%92%8cgithub%e6%9d%a5%e6%9e%84%e5%bb%bagit-flow%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528Git\u548cGitHub\u6765\u6784\u5efaGit-Flow"}]},{"@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\/41e222757cdd2a3365361328bd79970a","name":"\u79d1, \u96c5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","caption":"\u79d1, \u96c5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8git%e5%92%8cgithub%e6%9d%a5%e6%9e%84%e5%bb%bagit-flow%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37890","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\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=37890"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37890\/revisions"}],"predecessor-version":[{"id":95516,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37890\/revisions\/95516"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=37890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=37890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=37890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}