{"id":770,"date":"2026-06-25T02:08:49","date_gmt":"2026-06-25T02:08:49","guid":{"rendered":"https:\/\/hyc.eshachem.com\/program\/?page_id=770"},"modified":"2026-06-25T13:34:25","modified_gmt":"2026-06-25T13:34:25","slug":"4-%e5%88%86%e6%94%af-branch","status":"publish","type":"page","link":"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/4-%e5%88%86%e6%94%af-branch\/","title":{"rendered":"4. \u5206\u652f Branch"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u5728\u524d\u9762\u7684\u7ae0\u7bc0\u4e2d\uff0c\u6211\u5011\u5b78\u6703\u4e86\u5efa\u7acb\u5c08\u6848\u3001\u5728\u672c\u5730\u8207\u96f2\u7aef\u540c\u6b65\u6a94\u6848\uff0c\u751a\u81f3\u662f\u4e0d\u5c0f\u5fc3\u63a8\u932f\u6a94\u6642\u7684\u7dca\u6025\u6551\u63f4\u3002\u4f46\u4f60\u6709\u6c92\u6709\u767c\u73fe\uff0c\u5230\u76ee\u524d\u70ba\u6b62\uff0c\u6211\u5011\u6240\u6709\u4eba\u90fd\u662f\u64e0\u5728\u4e00\u689d\u53eb\u505a <code>main<\/code> \u7684\u76f4\u7dda\u4e0a\u958b\u767c\uff1f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u60f3\u50cf\u4e00\u4e0b\u9019\u500b\u6050\u6016\u60c5\u5883\uff1a\u4f60\u6b63\u5728 <code>main<\/code> \u4e0a\u4fee\u6539\u65b0\u529f\u80fd\uff0c\u7a0b\u5f0f\u78bc\u6539\u5230\u4e00\u534a\u3001\u6eff\u5730 Bug\u3002\u9019\u6642\u8001\u95c6\u7a81\u7136\u6253\u4f86\u8aaa:\u300c\u7db2\u7ad9\u7684\u767b\u5165\u529f\u80fd\u58de\u4e86\uff0c\u9650\u4f60 10 \u5206\u9418\u5167\u4fee\u597d\u4e0a\u7dda\uff01\u300d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b64\u6642\u7684\u4f60\u9032\u9000\u5169\u96e3\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u628a\u624b\u908a\u6539\u5230\u4e00\u534a\u3001\u58de\u6389\u7684\u7a0b\u5f0f\u78bc\u786c\u8457\u982d\u76ae Commit \u4e26\u63a8\u4e0a\u53bb\uff1f\uff08\u7db2\u7ad9\u6703\u76f4\u63a5\u5168\u7ad9\u70b8\u958b\uff09<\/li>\n\n\n\n<li>\u72c2\u6309 Ctrl + Z \u628a\u65b0\u529f\u80fd\u5168\u522a\u6389\uff0c\u5148\u4fee Bug\uff1f\uff08\u9019\u5e7e\u5929\u7684\u52aa\u529b\u5168\u767d\u8cbb\uff09<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4f60\u61c2\u5f97\u4f7f\u7528 <strong>Branch\uff08\u5206\u652f\uff09<\/strong>\uff0c\u90a3\u9762\u5c0d\u9019\u7a2e\u60c5\u5883\u6642\uff0c\u4f60\u81ea\u7136\u80fd\u5f9e\u5bb9\u61c9\u5c0d\u4e86\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"1-%e4%bb%80%e9%ba%bc%e6%98%af-branch%ef%bc%88%e5%88%86%e6%94%af%ef%bc%89%ef%bc%9f\">1. \u4ec0\u9ebc\u662f Branch\uff08\u5206\u652f\uff09\uff1f<\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u7c21\u55ae\u4f86\u8aaa\uff0c<strong>\u5206\u652f\u5c31\u662f\u7a0b\u5f0f\u78bc\u7684\u300c\u5e73\u884c\u5b87\u5b99\u300d<\/strong>\u3002<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728 Git \u7684\u4e16\u754c\u88e1\uff0c\u9810\u8a2d\u7684\u4e3b\u7dda\u5b87\u5b99\u53eb\u505a <code>main<\/code>\uff08\u820a\u7248\u53eb <code>master<\/code>\uff09\uff0c\u9019\u689d\u4e3b\u7dda\u901a\u5e38\u7528\u4f86\u5b58\u653e<strong>\u96a8\u6642\u53ef\u4ee5\u7a69\u5b9a\u57f7\u884c\u3001\u8981\u7d66\u5ba2\u6236\u770b\u7684\u6b63\u5f0f\u7248\u7a0b\u5f0f\u78bc<\/strong>\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7576\u4f60\u60f3\u958b\u767c\u65b0\u529f\u80fd\uff08Feature\uff09\u6216\u4fee\u5fa9 Bug \u6642\uff0c\u4f60\u4e0d\u9700\u8981\u4e5f\u4e0d\u61c9\u8a72\u76f4\u63a5\u5728 <code>main<\/code> \u4e0a\u9762\u52d5\u5200\u3002\u4f60\u53ef\u4ee5\u5f9e <code>main<\/code> \u62c9\u51fa\u4e00\u500b\u5e73\u884c\u5b87\u5b99\uff08\u5efa\u7acb\u65b0\u5206\u652f\uff09\uff0c\u5728\u9019\u500b\u5b87\u5b99\u88e1\uff0c\u4f60\u611b\u600e\u9ebc\u6539\u5c31\u600e\u9ebc\u6539\uff0c\u5c31\u7b97\u6539\u5230\u5168\u9762\u5d29\u6f70\uff0c<code>main<\/code> \u5b87\u5b99\u88e1\u7684\u6b63\u5f0f\u7db2\u7ad9\u4f9d\u7136\u5b8c\u597d\u7121\u640d\u3001\u5b89\u5168\u904b\u4f5c\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7b49\u4f60\u5728\u5e73\u884c\u5b87\u5b99\u628a\u65b0\u529f\u80fd\u6e2c\u8a66\u5b8c\u7f8e\u4e86\uff0c\u518d\u628a\u9019\u689d\u5206\u652f\u300c\u5408\u4f75 (Merge)\u300d\u56de <code>main<\/code> \u5b87\u5b99\u3002\u9019\u5c31\u662f\u73fe\u4ee3\u8edf\u9ad4\u958b\u767c\u7684\u6838\u5fc3\u5fc3\u6cd5\u3002<\/p>\n\n\n\n<div class=\"wp-block-merpress-mermaidjs diagram-source-mermaid\"><pre class=\"mermaid\">gitGraph\n    commit id: \"\u521d\u59cb\u5c08\u6848\"\n    commit id: \"\u7db2\u9801\u9996\u9801\u5b8c\u6210\"\n    branch feature\/cool-ui\n    checkout feature\/cool-ui\n    commit id: \"\u5207\u63db\u5b87\u5b99\uff1a\u958b\u767c\u65b0 UI\"\n    commit id: \"\u65b0 UI \u6e2c\u8a66\u6210\u529f\"\n    checkout main\n    commit id: \"\u4e3b\u7dda\u5b87\u5b99\uff1a\u7dca\u6025\u4fee\u5fa9\u767b\u5165 Bug\"\n    merge feature\/cool-ui\n    commit id: \"\u5b8c\u7f8e\u5408\u4f75\uff01\"<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f9e\u4e0a\u5716\u53ef\u4ee5\u770b\u5230\uff0c\u7576\u4e3b\u7dda\u5728\u4fee\u5fa9\u7dca\u6025 Bug \u7684\u540c\u6642\uff0c\u4f60\u7684 <code>feature\/cool-ui<\/code> \u5e73\u884c\u5b87\u5b99\u6b63\u5728\u540c\u6b65\u958b\u767c\u65b0\u529f\u80fd\uff0c\u5169\u8005\u4e92\u4e0d\u5e72\u6d89\uff0c\u6700\u5f8c\u518d\u5b8c\u7f8e\u4ea4\u7e54\u5728\u4e00\u8d77\uff01<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2-%e5%af%a6%e6%88%b0\">2. \u5be6\u6230 !<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u73fe\u5728\uff0c\u8acb\u6253\u958b\u4f60\u7684\u7d42\u7aef\u6a5f\uff0c\u5207\u63db\u5230\u4f60\u7684\u5c08\u6848\u8cc7\u6599\u593e\uff0c\u6211\u5011\u4e00\u8d77\u4f86\u64cd\u7e31\u6642\u7a7a\u88c2\u7e2b\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-%e6%aa%a2%e6%9f%a5%e7%9b%ae%e5%89%8d%e6%9c%89%e5%93%aa%e4%ba%9b%e5%88%86%e6%94%af\">1. \u6aa2\u67e5\u76ee\u524d\u6709\u54ea\u4e9b\u5206\u652f<\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">git branch\n<\/code><\/span><\/pre>\n\n\n<ul class=\"wp-block-list\">\n<li>\ud83d\udca1 <strong>\u7d42\u7aef\u6a5f\u63d0\u793a\uff1a<\/strong> \u4f60\u6703\u770b\u5230\u756b\u9762\u4e0a\u51fa\u73fe <code>* main<\/code>\uff0c\u6709\u7c73\u5b57\u865f <code>*<\/code> \u7684\u4ee3\u8868\u4f60\u76ee\u524d\u6b63\u8eab\u8655\u5728\u9019\u500b\u5b87\u5b99\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-%e5%bb%ba%e7%ab%8b%e4%b8%a6%e7%9b%b4%e6%8e%a5%e5%88%87%e6%8f%9b\">2. \u5efa\u7acb\u4e26\u76f4\u63a5\u5207\u63db<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6211\u5011\u73fe\u5728\u8981\u958b\u767c\u4e00\u500b\u8cfc\u7269\u8eca\u529f\u80fd\uff0c\u8f38\u5165\u4ee5\u4e0b\u6307\u4ee4\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">git checkout -b feature\/cart\n<\/code><\/span><\/pre>\n\n\n<ul class=\"wp-block-list\">\n<li>\ud83d\udca1 <strong>\u6307\u4ee4\u89e3\u6790\uff1a<\/strong> <code>checkout<\/code> \u662f\u5207\u63db\u5b87\u5b99\u7684\u610f\u601d\uff0c\u52a0\u4e0a <code>-b<\/code> \u4ee3\u8868\u300c\u5982\u679c\u9019\u500b\u5206\u652f\u4e0d\u5b58\u5728\uff0c\u5c31\u5e6b\u6211\u65b0\u5efa\u4e00\u500b\u300d\u3002<\/li>\n\n\n\n<li>\u9019\u6642\u5019\u518d\u6b21\u8f38\u5165 <code>git branch<\/code>\uff0c\u4f60\u6703\u767c\u73fe <code>*<\/code> \u5df2\u7d93\u79fb\u5230 <code>feature\/cart<\/code> \u4e0a\u4e86\uff01<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-%e5%9c%a8%e5%b9%b3%e8%a1%8c%e5%ae%87%e5%ae%99%e4%b8%ad%e5%ae%89%e5%bf%83%e9%96%8b%e7%99%bc\">3. \u5728\u5e73\u884c\u5b87\u5b99\u4e2d\u5b89\u5fc3\u958b\u767c<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6211\u5011\u5728\u8cfc\u7269\u8eca\u5b87\u5b99\u88e1\u65b0\u5efa\u4e00\u500b\u6a94\u6848\uff0c\u4e26\u505a\u597d Commit\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-keyword\">echo<\/span> <span class=\"hljs-string\">\"Cart function is under development...\"<\/span> &gt; cart.html\ngit add .\ngit commit -m <span class=\"hljs-string\">\"feat: Add basic cart structure\"<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">\u6b64\u6642\uff0c\u9019\u500b <code>cart.html<\/code> \u53ea\u5b58\u5728\u65bc <code>feature\/cart<\/code> \u5206\u652f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-%e5%88%87%e5%9b%9e%e4%b8%bb%e7%b7%9a%e5%ae%87%e5%ae%99\">4. \u5207\u56de\u4e3b\u7dda\u5b87\u5b99<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6211\u5011\u5207\u63db\u56de <code>main<\/code> \u770b\u770b\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">git checkout main\n<\/code><\/span><\/pre>\n\n\n<p class=\"wp-block-paragraph\">\u9019\u6642\u5019\u795e\u5947\u7684\u4e8b\u60c5\u767c\u751f\u4e86\uff0c\u8acb\u6aa2\u67e5\u4f60\u7684\u5c08\u6848\u8cc7\u6599\u593e\uff0c\u4f60\u6703\u767c\u73fe<strong>\u525b\u525b\u5beb\u7684 <code>cart.html<\/code> \u7adf\u7136\u4e0d\u898b\u4e86\uff01<\/strong> \u5225\u614c\uff0c\u5b83\u6c92\u6709\u4e0d\u898b\uff0c\u5b83\u53ea\u662f\u7559\u5728\u8cfc\u7269\u8eca\u5b87\u5b99\u88e1\uff0c\u800c\u4f60\u73fe\u5728\u56de\u5230\u4e86\u4e7e\u6de8\u7684\u6b63\u5f0f\u7248\u4e3b\u7dda\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5-%e5%90%88%e4%bd%b5%e5%88%86%e6%94%af\">5. \u5408\u4f75\u5206\u652f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5047\u8a2d\u8cfc\u7269\u8eca\u529f\u80fd\u5728\u5e73\u884c\u5b87\u5b99\u5df2\u7d93\u6e2c\u8a66\u901a\u904e\uff0c\u6211\u5011\u8981\u628a\u5b83\u63a5\u56de\u4e3b\u7dda\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u52d9\u5fc5\u78ba\u8a8d\u4f60\u76ee\u524d\u8eab\u8655\u5728 <code>main<\/code> \u5206\u652f<\/strong>\uff0c\u7136\u5f8c\u8f38\u5165\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">git merge feature\/cart\n<\/code><\/span><\/pre>\n\n\n<p class=\"wp-block-paragraph\">\u756b\u9762\u4e0a\u6703\u51fa\u73fe <code>Fast-forward<\/code>\uff0c\u4ee3\u8868\u4e3b\u7dda\u5df2\u7d93\u6210\u529f\u628a\u8cfc\u7269\u8eca\u5206\u652f\u7684\u9032\u5ea6\u541e\u9032\u4f86\u4e86\uff01\u9019\u6642\u5019 <code>cart.html<\/code> \u5c31\u6703\u597d\u7aef\u7aef\u5730\u51fa\u73fe\u5728\u4f60\u7684 <code>main<\/code> \u5206\u652f\u88e1\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"6-%e6%8a%8a%e6%96%b0%e5%88%86%e6%94%af%e4%b9%9f%e6%8e%a8%e4%b8%8a-github-%e5%82%99%e4%bb%bd\">6. \u628a\u65b0\u5206\u652f\u4e5f\u63a8\u4e0a GitHub \u5099\u4efd<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4f60\u5728\u5e73\u884c\u5b87\u5b99\u5beb\u5230\u4e00\u534a\u8981\u4e0b\u73ed\u4e86\uff0c\u60f3\u628a\u9019\u500b\u5206\u652f\u4e5f\u63a8\u4e0a GitHub \u5099\u4efd\uff0c\u53ea\u8981\u8f38\u5165\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">git push origin feature\/cart\n<\/code><\/span><\/pre>\n\n\n<p class=\"wp-block-paragraph\">\u9019\u6a23\u4e00\u4f86\uff0cGitHub \u96f2\u7aef\u4e0a\u5c31\u6703\u540c\u6b65\u51fa\u73fe\u9019\u689d\u65b0\u5206\u652f\uff0c\u5718\u968a\u5925\u4f34\u4e5f\u80fd\u62c9\u4e0b\u4f86\u4e00\u8d77\u958b\u767c!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"3-%e5%88%aa%e9%99%a4%e5%88%86%e6%94%af\">3. \u522a\u9664\u5206\u652f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728 Git \u7684\u4e16\u754c\u88e1\uff0c\u522a\u9664\u5206\u652f\u662f\u4e00\u9580\u5927\u5b78\u554f\u3002\u6211\u5011\u901a\u5e38\u6703\u5206\u70ba\u300c\u522a\u9664\u672c\u5730\u5206\u652f\u300d<strong>\u8207<\/strong>\u300c\u522a\u9664 GitHub \u4e0a\u7684\u9060\u7aef\u5206\u652f\u300d\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-%e5%a6%82%e4%bd%95%e6%8a%8a%e4%b8%8d%e8%a6%81%e7%9a%84%e5%88%86%e6%94%af%e5%88%aa%e6%8e%89%ef%bc%9f\">1. \u5982\u4f55\u628a\u4e0d\u8981\u7684\u5206\u652f\u522a\u6389\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8acb\u5148\u78ba\u4fdd\u4f60<strong>\u5df2\u7d93\u5207\u63db\u5230\u5176\u4ed6\u5206\u652f<\/strong>\uff08\u4f8b\u5982 <code>main<\/code>\uff09\uff0c\u56e0\u70ba\u4f60\u4e0d\u80fd\u5728\u4e00\u500b\u6b63\u8e29\u5728\u8173\u5e95\u4e0b\u7684\u5b87\u5b99\u88e1\u628a\u81ea\u5df1\u6bc0\u6ec5\u3002<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\"><span class=\"hljs-comment\"># \u7ad9\u5728 main \u5206\u652f\uff0c\u5148\u78ba\u4fdd\u81ea\u5df1\u63db\u4f4d\u7f6e\u4e86<\/span>\ngit checkout main\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\"><strong>\u53ea\u522a\u9664\u300c\u672c\u5730\u96fb\u8166\u300d\u7684\u5206\u652f<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u529f\u80fd\u5df2\u7d93\u5408\u4f75\u5b8c\u7562\uff0c\u60f3\u628a\u672c\u5730\u7684 <code>feature\/cart<\/code> \u522a\u6389\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">git branch -d feature\/cart\n<\/code><\/span><\/pre>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u5982\u679c\u9019\u500b\u5206\u652f\u7684\u4fee\u6539\u300c\u9084\u6c92\u88ab\u5408\u4f75\u300d\uff0cGit \u6703\u8cbc\u5fc3\u5730\u64cb\u4e0b\u4f60\u4e26\u5831\u932f\u3002\u5982\u679c\u4f60\u78ba\u5b9a\u9019\u500b\u5206\u652f\u662f\u5783\u573e\u3001\u771f\u7684\u4e0d\u8981\u4e86\uff0c\u53ef\u4ee5\u7528\u5927\u5beb\u7684 <code>-D<\/code> \u66b4\u529b\u5f37\u5236\u522a\u9664\uff1a<code>git branch -D feature\/cart<\/code>\u3002<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u522a\u9664\u300cGitHub \u96f2\u7aef\u300d\u7684\u9060\u7aef\u5206\u652f<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4f60\u4e4b\u524d\u8f38\u5165\u904e <code>git push origin feature\/cart<\/code>\uff0c\u73fe\u5728\u60f3\u628a GitHub \u4e0a\u7684\u9019\u689d\u5206\u652f\u62b9\u9664\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">git push origin --<span class=\"hljs-keyword\">delete<\/span> feature\/cart\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\"><em>\u9019\u884c\u6307\u4ee4\u7684\u610f\u601d\u662f\uff1a\u300c\u63a8\u4e00\u500b\u300e\u522a\u9664\u547d\u4ee4\u300f\u5230\u9060\u7aef\uff08origin\uff09\uff0c\u628a <code>feature\/cart<\/code> \u7d66\u780d\u4e86\u3002\u300d<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-%e5%88%aa%e9%99%a4%e5%88%86%e6%94%af%ef%bc%8c%e7%b4%80%e9%8c%84%e6%9c%83%e8%b7%9f%e8%91%97%e4%b8%8d%e8%a6%8b%e5%97%8e%ef%bc%9f%e4%bf%ae%e6%94%b9%e6%9c%83%e4%b8%8d%e8%a6%8b%e5%97%8e%ef%bc%9f\">2. \u522a\u9664\u5206\u652f\uff0c\u7d00\u9304\u6703\u8ddf\u8457\u4e0d\u898b\u55ce\uff1f\u4fee\u6539\u6703\u4e0d\u898b\u55ce\uff1f<\/h3>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>\u53ea\u8981\u4f60\u5408\u4f75\uff08Merge\uff09\u904e\u4e86\uff0c\u6a94\u6848\u548c\u7d00\u9304\u5c31\u7d55\u4e0d\u6703\u4e0d\u898b\uff01<\/strong><\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">\u9019\u807d\u8d77\u4f86\u5f88\u9055\u53cd\u76f4\u89ba\uff0c\u4f46\u7406\u89e3\u4e86 Git \u7684\u5e95\u5c64\u908f\u8f2f\u5f8c\uff0c\u4f60\u6703\u767c\u73fe\u5b83\u975e\u5e38\u5b89\u5168\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5206\u652f\u5176\u5be6\u53ea\u662f\u300c\u8cbc\u7d19\uff08\u6307\u6a19\uff09\u300d\uff1a<\/strong>\u4f60\u5728\u5206\u652f\u88e1\u6bcf\u4e00\u6b21\u8f38\u5165 <code>git commit<\/code> \u6240\u5efa\u7acb\u7684\u6642\u5149\u7d00\u9304\u9ede\uff08Commit\uff09\uff0c\u624d\u662f\u771f\u6b63\u5b58\u653e\u7a0b\u5f0f\u78bc\u4fee\u6539\u7684\u5be6\u9ad4\u786c\u789f\u7a7a\u9593\u3002\u800c\u5206\u652f\u540d\u7a31\uff08\u4f8b\u5982 <code>feature\/cart<\/code>\uff09\u53ea\u662f\u8cbc\u5728\u6700\u65b0\u90a3\u9846 Commit \u4e0a\u7684\u4e00\u5f35\u300c\u4fbf\u689d\u7d19\u300d\u3002<\/li>\n\n\n\n<li><strong>\u522a\u9664\u5206\u652f\u7684\u672c\u8cea\uff1a<\/strong>\u4f60\u53ea\u662f\u628a <code>feature\/cart<\/code> \u9019\u5f35\u4fbf\u689d\u7d19\u6495\u6389\u4e1f\u9032\u5783\u573e\u6876\uff0c<strong>\u4e26\u4e0d\u662f\u53bb\u522a\u9664\u90a3\u4e9b Commit \u7d00\u9304\u9ede<\/strong>\u3002<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u53ea\u8981\u5728\u522a\u9664\u5206\u652f\u524d\uff0c<strong>\u78ba\u8a8d\u6709\u505a\u597d <code>git merge<\/code><\/strong>\uff0c\u4f60\u5c31\u5118\u7ba1\u653e\u5fc3\u5730\u628a\u5206\u652f\u780d\u6389\u5427\uff01\u4f60\u7684\u7a0b\u5f0f\u78bc\u4fee\u6539\u8207\u6b77\u53f2\u63d0\u4ea4\u7d00\u9304\uff0c\u90fd\u6703\u5b8c\u7f8e\u3001\u4e00\u5b57\u4e0d\u6f0f\u5730\u4fdd\u7559\u5728\u4e3b\u7dda\u4e0a\u3002<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u524d\u9762\u7684\u7ae0\u7bc0\u4e2d\uff0c\u6211\u5011\u5b78\u6703\u4e86\u5efa\u7acb\u5c08\u6848\u3001\u5728\u672c\u5730\u8207\u96f2\u7aef\u540c\u6b65\u6a94\u6848\uff0c\u751a\u81f3\u662f\u4e0d\u5c0f\u5fc3\u63a8\u932f\u6a94\u6642\u7684\u7dca\u6025\u6551\u63f4\u3002\u4f46\u4f60\u6709\u6c92\u6709\u767c\u73fe\uff0c\u5230\u76ee\u524d\u70ba\u6b62\uff0c\u6211\u5011\u6240\u6709\u4eba\u90fd\u662f\u64e0\u5728\u4e00\u689d\u53eb\u505a main \u7684\u76f4\u7dda\u4e0a\u958b\u767c\uff1f \u60f3\u50cf\u4e00\u4e0b\u9019\u500b\u6050\u6016\u60c5\u5883\uff1a\u4f60\u6b63\u5728 main \u4e0a\u4fee\u6539\u65b0\u529f\u80fd\uff0c\u7a0b\u5f0f\u78bc\u6539\u5230\u4e00\u534a\u3001\u6eff\u5730 Bug\u3002\u9019\u6642\u8001\u95c6\u7a81\u7136\u6253\u4f86\u8aaa:\u300c\u7db2\u7ad9\u7684\u767b\u5165\u529f\u80fd\u58de\u4e86\uff0c\u9650\u4f60 10 \u5206\u9418\u5167\u4fee\u597d\u4e0a\u7dda\uff01\u300d \u6b64\u6642\u7684\u4f60\u9032\u9000\u5169\u96e3\uff1a \u5982\u679c\u4f60\u61c2\u5f97\u4f7f\u7528 Branch\uff08\u5206\u652f\uff09\uff0c\u90a3\u9762\u5c0d\u9019\u7a2e\u60c5\u5883\u6642\uff0c\u4f60\u81ea\u7136\u80fd\u5f9e\u5bb9\u61c9\u5c0d\u4e86\u3002 1. \u4ec0\u9ebc\u662f Branch\uff08\u5206\u652f\uff09\uff1f \u7c21\u55ae\u4f86\u8aaa\uff0c\u5206\u652f\u5c31\u662f\u7a0b\u5f0f\u78bc\u7684\u300c\u5e73\u884c\u5b87\u5b99\u300d\u3002 \u5728 Git \u7684\u4e16\u754c\u88e1\uff0c\u9810\u8a2d\u7684\u4e3b\u7dda\u5b87\u5b99\u53eb\u505a main\uff08\u820a\u7248\u53eb master\uff09\uff0c\u9019\u689d\u4e3b\u7dda\u901a\u5e38\u7528\u4f86\u5b58\u653e\u96a8\u6642\u53ef\u4ee5\u7a69\u5b9a\u57f7\u884c\u3001\u8981\u7d66\u5ba2\u6236\u770b\u7684\u6b63\u5f0f\u7248\u7a0b\u5f0f\u78bc\u3002 \u7576\u4f60\u60f3\u958b\u767c\u65b0\u529f\u80fd\uff08Feature\uff09\u6216\u4fee\u5fa9 Bug \u6642\uff0c\u4f60\u4e0d\u9700\u8981\u4e5f\u4e0d\u61c9\u8a72\u76f4\u63a5\u5728 main \u4e0a\u9762\u52d5\u5200\u3002\u4f60\u53ef\u4ee5\u5f9e main \u62c9\u51fa\u4e00\u500b\u5e73\u884c\u5b87\u5b99\uff08\u5efa\u7acb\u65b0\u5206\u652f\uff09\uff0c\u5728\u9019\u500b\u5b87\u5b99\u88e1\uff0c\u4f60\u611b\u600e\u9ebc\u6539\u5c31\u600e\u9ebc\u6539\uff0c\u5c31\u7b97\u6539\u5230\u5168\u9762\u5d29\u6f70\uff0cmain \u5b87\u5b99\u88e1\u7684\u6b63\u5f0f\u7db2\u7ad9\u4f9d\u7136\u5b8c\u597d\u7121\u640d\u3001\u5b89\u5168\u904b\u4f5c\u3002 \u7b49\u4f60\u5728\u5e73\u884c\u5b87\u5b99\u628a\u65b0\u529f\u80fd\u6e2c\u8a66\u5b8c\u7f8e\u4e86\uff0c\u518d\u628a\u9019\u689d\u5206\u652f\u300c\u5408\u4f75 (Merge)\u300d\u56de main \u5b87\u5b99\u3002\u9019\u5c31\u662f\u73fe\u4ee3\u8edf\u9ad4\u958b\u767c\u7684\u6838\u5fc3\u5fc3\u6cd5\u3002 \u5f9e\u4e0a\u5716\u53ef\u4ee5\u770b\u5230\uff0c\u7576\u4e3b\u7dda\u5728\u4fee\u5fa9\u7dca\u6025 Bug \u7684\u540c\u6642\uff0c\u4f60\u7684 feature\/cool-ui \u5e73\u884c\u5b87\u5b99\u6b63\u5728\u540c\u6b65\u958b\u767c\u65b0\u529f\u80fd\uff0c\u5169\u8005\u4e92\u4e0d\u5e72\u6d89\uff0c\u6700\u5f8c\u518d\u5b8c\u7f8e\u4ea4\u7e54\u5728\u4e00\u8d77\uff01 2. \u5be6\u6230 ! \u73fe\u5728\uff0c\u8acb\u6253\u958b\u4f60\u7684\u7d42\u7aef\u6a5f\uff0c\u5207\u63db\u5230\u4f60\u7684\u5c08\u6848\u8cc7\u6599\u593e\uff0c\u6211\u5011\u4e00\u8d77\u4f86\u64cd\u7e31\u6642\u7a7a\u88c2\u7e2b\u3002 1. \u6aa2\u67e5\u76ee\u524d\u6709\u54ea\u4e9b\u5206\u652f 2. \u5efa\u7acb\u4e26\u76f4\u63a5\u5207\u63db \u6211\u5011\u73fe\u5728\u8981\u958b\u767c\u4e00\u500b\u8cfc\u7269\u8eca\u529f\u80fd\uff0c\u8f38\u5165\u4ee5\u4e0b\u6307\u4ee4\uff1a 3. \u5728\u5e73\u884c\u5b87\u5b99\u4e2d\u5b89\u5fc3\u958b\u767c \u6211\u5011\u5728\u8cfc\u7269\u8eca\u5b87\u5b99\u88e1\u65b0\u5efa\u4e00\u500b\u6a94\u6848\uff0c\u4e26\u505a\u597d Commit\uff1a \u6b64\u6642\uff0c\u9019\u500b cart.html \u53ea\u5b58\u5728\u65bc feature\/cart [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":744,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"footnotes":""},"class_list":["post-770","page","type-page","status-publish","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u5728\u524d\u9762\u7684\u7ae0\u7bc0\u4e2d\uff0c\u6211\u5011\u5b78\u6703\u4e86\u5efa\u7acb\u5c08\u6848\u3001\u5728\u672c\u5730\u8207\u96f2\u7aef\u540c\u6b65\u6a94\u6848\uff0c\u751a\u81f3\u662f\u4e0d\u5c0f\u5fc3\u63a8\u932f\u6a94\u6642\u7684\u7dca\u6025\u6551\u63f4\u3002\u4f46\u4f60\u6709\u6c92\u6709\u767c\u73fe\uff0c\u5230\u76ee\u524d\u70ba\u6b62\uff0c\u6211\u5011\u6240\u6709\u4eba\u90fd\u662f\u64e0\u5728\u4e00\u689d\u53eb\u505a main \u7684\u76f4\u7dda\u4e0a\u958b\u767c\uff1f \u60f3\u50cf\u4e00\u4e0b\u9019\u500b\u6050\u6016\u60c5\u5883\uff1a\u4f60\u6b63\u5728 main \u4e0a\u4fee\u6539\u65b0\u529f\u80fd\uff0c\u7a0b\u5f0f\u78bc\u6539\u5230\u4e00\u534a\u3001\u6eff\u5730 Bug\u3002\u9019\u6642\u8001\u95c6\u7a81\u7136\u6253\u4f86\u8aaa:\u300c\u7db2\u7ad9\u7684\u767b\u5165\u529f\u80fd\u58de\u4e86\uff0c\u9650\u4f60 10 \u5206\u9418\u5167\u4fee\u597d\u4e0a\u7dda\uff01\u300d \u6b64\u6642\u7684\u4f60\u9032\u9000\u5169\u96e3\uff1a \u628a\u624b\u908a\u6539\u5230\u4e00\u534a\u3001\u58de\u6389\u7684\u7a0b\u5f0f\u78bc\u786c\u8457\u982d\u76ae Commit \u4e26\u63a8\u4e0a\u53bb\uff1f\uff08\u7db2\u7ad9\u6703\u76f4\u63a5\u5168\u7ad9\u70b8\u958b\uff09 \u72c2\u6309 Ctrl + Z \u628a\u65b0\u529f\u80fd\u5168\u522a\u6389\uff0c\u5148\u4fee Bug\uff1f\uff08\u9019\u5e7e\u5929\u7684\u52aa\u529b\u5168\u767d\u8cbb\uff09 \u5982\u679c\u4f60\u61c2\u5f97\u4f7f\u7528 Branch\uff08\u5206\u652f\uff09\uff0c\u90a3\u9762\u5c0d\u9019\u7a2e\u60c5\u5883\u6642\uff0c\u4f60\u81ea\u7136\u80fd\u5f9e\u5bb9\u61c9\u5c0d\u4e86\u3002 1. \u4ec0\u9ebc\u662f Branch\uff08\u5206\u652f\uff09\uff1f \u7c21\u55ae\u4f86\u8aaa\uff0c\u5206\u652f\u5c31\u662f\u7a0b\u5f0f\u78bc\u7684\u300c\u5e73\u884c\u5b87\u5b99\u300d\u3002 \u5728 Git \u7684\u4e16\u754c\u88e1\uff0c\u9810\u8a2d\u7684\u4e3b\u7dda\u5b87\u5b99\u53eb\u505a main\uff08\u820a\u7248\u53eb master\uff09\uff0c\u9019\u689d\u4e3b\u7dda\u901a\u5e38\u7528\u4f86\u5b58\u653e\u96a8\u6642\u53ef\u4ee5\u7a69\u5b9a\u57f7\u884c\u3001\u8981\u7d66\u5ba2\u6236\u770b\u7684\u6b63\u5f0f\u7248\u7a0b\u5f0f\u78bc\u3002 \u7576\u4f60\u60f3\u958b\u767c\u65b0\u529f\u80fd\uff08Feature\uff09\u6216\u4fee\u5fa9 Bug \u6642\uff0c\u4f60\u4e0d\u9700\u8981\u4e5f\u4e0d\u61c9\u8a72\u76f4\u63a5\u5728 main \u4e0a\u9762\u52d5\u5200\u3002\u4f60\u53ef\u4ee5\u5f9e main \u62c9\u51fa\u4e00\u500b\u5e73\u884c\u5b87\u5b99\uff08\u5efa\u7acb\u65b0\u5206\u652f\uff09\uff0c\u5728\u9019\u500b\u5b87\u5b99\u88e1\uff0c\u4f60\u611b\u600e\u9ebc\u6539\u5c31\u600e\u9ebc\u6539\uff0c\u5c31\u7b97\u6539\u5230\u5168\u9762\u5d29\u6f70\uff0cmain \u5b87\u5b99\u88e1\u7684\u6b63\u5f0f\u7db2\u7ad9\u4f9d\u7136\u5b8c\u597d\u7121\u640d\u3001\u5b89\u5168\u904b\u4f5c\u3002 \u7b49\u4f60\u5728\u5e73\u884c\u5b87\u5b99\u628a\u65b0\u529f\u80fd\u6e2c\u8a66\u5b8c\u7f8e\u4e86\uff0c\u518d\u628a\u9019\u689d\u5206\u652f\u300c\u5408\u4f75 (Merge)\u300d\u56de main \u5b87\u5b99\u3002\u9019\u5c31\u662f\u73fe\u4ee3\u8edf\u9ad4\u958b\u767c\u7684\u6838\u5fc3\u5fc3\u6cd5\u3002 gitGraph commit id: &quot;\u521d\u59cb\u5c08\u6848&quot; commit id: &quot;\u7db2\u9801\u9996\u9801\u5b8c\u6210&quot; branch feature\/cool-ui checkout feature\/cool-ui commit id:\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"google-site-verification\" content=\"-324YR5tomynX5FeTW2lTMHIX0KmPBvpxjXpOhXwi1Q\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/4-%e5%88%86%e6%94%af-branch\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"HyC Wiki - Technical articles\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"4. \u5206\u652f Branch - HyC Wiki\" \/>\n\t\t<meta property=\"og:description\" content=\"\u5728\u524d\u9762\u7684\u7ae0\u7bc0\u4e2d\uff0c\u6211\u5011\u5b78\u6703\u4e86\u5efa\u7acb\u5c08\u6848\u3001\u5728\u672c\u5730\u8207\u96f2\u7aef\u540c\u6b65\u6a94\u6848\uff0c\u751a\u81f3\u662f\u4e0d\u5c0f\u5fc3\u63a8\u932f\u6a94\u6642\u7684\u7dca\u6025\u6551\u63f4\u3002\u4f46\u4f60\u6709\u6c92\u6709\u767c\u73fe\uff0c\u5230\u76ee\u524d\u70ba\u6b62\uff0c\u6211\u5011\u6240\u6709\u4eba\u90fd\u662f\u64e0\u5728\u4e00\u689d\u53eb\u505a main \u7684\u76f4\u7dda\u4e0a\u958b\u767c\uff1f \u60f3\u50cf\u4e00\u4e0b\u9019\u500b\u6050\u6016\u60c5\u5883\uff1a\u4f60\u6b63\u5728 main \u4e0a\u4fee\u6539\u65b0\u529f\u80fd\uff0c\u7a0b\u5f0f\u78bc\u6539\u5230\u4e00\u534a\u3001\u6eff\u5730 Bug\u3002\u9019\u6642\u8001\u95c6\u7a81\u7136\u6253\u4f86\u8aaa:\u300c\u7db2\u7ad9\u7684\u767b\u5165\u529f\u80fd\u58de\u4e86\uff0c\u9650\u4f60 10 \u5206\u9418\u5167\u4fee\u597d\u4e0a\u7dda\uff01\u300d \u6b64\u6642\u7684\u4f60\u9032\u9000\u5169\u96e3\uff1a \u628a\u624b\u908a\u6539\u5230\u4e00\u534a\u3001\u58de\u6389\u7684\u7a0b\u5f0f\u78bc\u786c\u8457\u982d\u76ae Commit \u4e26\u63a8\u4e0a\u53bb\uff1f\uff08\u7db2\u7ad9\u6703\u76f4\u63a5\u5168\u7ad9\u70b8\u958b\uff09 \u72c2\u6309 Ctrl + Z \u628a\u65b0\u529f\u80fd\u5168\u522a\u6389\uff0c\u5148\u4fee Bug\uff1f\uff08\u9019\u5e7e\u5929\u7684\u52aa\u529b\u5168\u767d\u8cbb\uff09 \u5982\u679c\u4f60\u61c2\u5f97\u4f7f\u7528 Branch\uff08\u5206\u652f\uff09\uff0c\u90a3\u9762\u5c0d\u9019\u7a2e\u60c5\u5883\u6642\uff0c\u4f60\u81ea\u7136\u80fd\u5f9e\u5bb9\u61c9\u5c0d\u4e86\u3002 1. \u4ec0\u9ebc\u662f Branch\uff08\u5206\u652f\uff09\uff1f \u7c21\u55ae\u4f86\u8aaa\uff0c\u5206\u652f\u5c31\u662f\u7a0b\u5f0f\u78bc\u7684\u300c\u5e73\u884c\u5b87\u5b99\u300d\u3002 \u5728 Git \u7684\u4e16\u754c\u88e1\uff0c\u9810\u8a2d\u7684\u4e3b\u7dda\u5b87\u5b99\u53eb\u505a main\uff08\u820a\u7248\u53eb master\uff09\uff0c\u9019\u689d\u4e3b\u7dda\u901a\u5e38\u7528\u4f86\u5b58\u653e\u96a8\u6642\u53ef\u4ee5\u7a69\u5b9a\u57f7\u884c\u3001\u8981\u7d66\u5ba2\u6236\u770b\u7684\u6b63\u5f0f\u7248\u7a0b\u5f0f\u78bc\u3002 \u7576\u4f60\u60f3\u958b\u767c\u65b0\u529f\u80fd\uff08Feature\uff09\u6216\u4fee\u5fa9 Bug \u6642\uff0c\u4f60\u4e0d\u9700\u8981\u4e5f\u4e0d\u61c9\u8a72\u76f4\u63a5\u5728 main \u4e0a\u9762\u52d5\u5200\u3002\u4f60\u53ef\u4ee5\u5f9e main \u62c9\u51fa\u4e00\u500b\u5e73\u884c\u5b87\u5b99\uff08\u5efa\u7acb\u65b0\u5206\u652f\uff09\uff0c\u5728\u9019\u500b\u5b87\u5b99\u88e1\uff0c\u4f60\u611b\u600e\u9ebc\u6539\u5c31\u600e\u9ebc\u6539\uff0c\u5c31\u7b97\u6539\u5230\u5168\u9762\u5d29\u6f70\uff0cmain \u5b87\u5b99\u88e1\u7684\u6b63\u5f0f\u7db2\u7ad9\u4f9d\u7136\u5b8c\u597d\u7121\u640d\u3001\u5b89\u5168\u904b\u4f5c\u3002 \u7b49\u4f60\u5728\u5e73\u884c\u5b87\u5b99\u628a\u65b0\u529f\u80fd\u6e2c\u8a66\u5b8c\u7f8e\u4e86\uff0c\u518d\u628a\u9019\u689d\u5206\u652f\u300c\u5408\u4f75 (Merge)\u300d\u56de main \u5b87\u5b99\u3002\u9019\u5c31\u662f\u73fe\u4ee3\u8edf\u9ad4\u958b\u767c\u7684\u6838\u5fc3\u5fc3\u6cd5\u3002 gitGraph commit id: &quot;\u521d\u59cb\u5c08\u6848&quot; commit id: &quot;\u7db2\u9801\u9996\u9801\u5b8c\u6210&quot; branch feature\/cool-ui checkout feature\/cool-ui commit id:\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/4-%e5%88%86%e6%94%af-branch\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/hyc.eshachem.com\/program\/wp-content\/uploads\/2026\/06\/cropped-cropped-\u672a\u547d\u540d\u8a2d\u8a08-4.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/hyc.eshachem.com\/program\/wp-content\/uploads\/2026\/06\/cropped-cropped-\u672a\u547d\u540d\u8a2d\u8a08-4.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"64\" \/>\n\t\t<meta property=\"og:image:height\" content=\"64\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-06-25T02:08:49+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-06-25T13:34:25+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"4. \u5206\u652f Branch - HyC Wiki\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u5728\u524d\u9762\u7684\u7ae0\u7bc0\u4e2d\uff0c\u6211\u5011\u5b78\u6703\u4e86\u5efa\u7acb\u5c08\u6848\u3001\u5728\u672c\u5730\u8207\u96f2\u7aef\u540c\u6b65\u6a94\u6848\uff0c\u751a\u81f3\u662f\u4e0d\u5c0f\u5fc3\u63a8\u932f\u6a94\u6642\u7684\u7dca\u6025\u6551\u63f4\u3002\u4f46\u4f60\u6709\u6c92\u6709\u767c\u73fe\uff0c\u5230\u76ee\u524d\u70ba\u6b62\uff0c\u6211\u5011\u6240\u6709\u4eba\u90fd\u662f\u64e0\u5728\u4e00\u689d\u53eb\u505a main \u7684\u76f4\u7dda\u4e0a\u958b\u767c\uff1f \u60f3\u50cf\u4e00\u4e0b\u9019\u500b\u6050\u6016\u60c5\u5883\uff1a\u4f60\u6b63\u5728 main \u4e0a\u4fee\u6539\u65b0\u529f\u80fd\uff0c\u7a0b\u5f0f\u78bc\u6539\u5230\u4e00\u534a\u3001\u6eff\u5730 Bug\u3002\u9019\u6642\u8001\u95c6\u7a81\u7136\u6253\u4f86\u8aaa:\u300c\u7db2\u7ad9\u7684\u767b\u5165\u529f\u80fd\u58de\u4e86\uff0c\u9650\u4f60 10 \u5206\u9418\u5167\u4fee\u597d\u4e0a\u7dda\uff01\u300d \u6b64\u6642\u7684\u4f60\u9032\u9000\u5169\u96e3\uff1a \u628a\u624b\u908a\u6539\u5230\u4e00\u534a\u3001\u58de\u6389\u7684\u7a0b\u5f0f\u78bc\u786c\u8457\u982d\u76ae Commit \u4e26\u63a8\u4e0a\u53bb\uff1f\uff08\u7db2\u7ad9\u6703\u76f4\u63a5\u5168\u7ad9\u70b8\u958b\uff09 \u72c2\u6309 Ctrl + Z \u628a\u65b0\u529f\u80fd\u5168\u522a\u6389\uff0c\u5148\u4fee Bug\uff1f\uff08\u9019\u5e7e\u5929\u7684\u52aa\u529b\u5168\u767d\u8cbb\uff09 \u5982\u679c\u4f60\u61c2\u5f97\u4f7f\u7528 Branch\uff08\u5206\u652f\uff09\uff0c\u90a3\u9762\u5c0d\u9019\u7a2e\u60c5\u5883\u6642\uff0c\u4f60\u81ea\u7136\u80fd\u5f9e\u5bb9\u61c9\u5c0d\u4e86\u3002 1. \u4ec0\u9ebc\u662f Branch\uff08\u5206\u652f\uff09\uff1f \u7c21\u55ae\u4f86\u8aaa\uff0c\u5206\u652f\u5c31\u662f\u7a0b\u5f0f\u78bc\u7684\u300c\u5e73\u884c\u5b87\u5b99\u300d\u3002 \u5728 Git \u7684\u4e16\u754c\u88e1\uff0c\u9810\u8a2d\u7684\u4e3b\u7dda\u5b87\u5b99\u53eb\u505a main\uff08\u820a\u7248\u53eb master\uff09\uff0c\u9019\u689d\u4e3b\u7dda\u901a\u5e38\u7528\u4f86\u5b58\u653e\u96a8\u6642\u53ef\u4ee5\u7a69\u5b9a\u57f7\u884c\u3001\u8981\u7d66\u5ba2\u6236\u770b\u7684\u6b63\u5f0f\u7248\u7a0b\u5f0f\u78bc\u3002 \u7576\u4f60\u60f3\u958b\u767c\u65b0\u529f\u80fd\uff08Feature\uff09\u6216\u4fee\u5fa9 Bug \u6642\uff0c\u4f60\u4e0d\u9700\u8981\u4e5f\u4e0d\u61c9\u8a72\u76f4\u63a5\u5728 main \u4e0a\u9762\u52d5\u5200\u3002\u4f60\u53ef\u4ee5\u5f9e main \u62c9\u51fa\u4e00\u500b\u5e73\u884c\u5b87\u5b99\uff08\u5efa\u7acb\u65b0\u5206\u652f\uff09\uff0c\u5728\u9019\u500b\u5b87\u5b99\u88e1\uff0c\u4f60\u611b\u600e\u9ebc\u6539\u5c31\u600e\u9ebc\u6539\uff0c\u5c31\u7b97\u6539\u5230\u5168\u9762\u5d29\u6f70\uff0cmain \u5b87\u5b99\u88e1\u7684\u6b63\u5f0f\u7db2\u7ad9\u4f9d\u7136\u5b8c\u597d\u7121\u640d\u3001\u5b89\u5168\u904b\u4f5c\u3002 \u7b49\u4f60\u5728\u5e73\u884c\u5b87\u5b99\u628a\u65b0\u529f\u80fd\u6e2c\u8a66\u5b8c\u7f8e\u4e86\uff0c\u518d\u628a\u9019\u689d\u5206\u652f\u300c\u5408\u4f75 (Merge)\u300d\u56de main \u5b87\u5b99\u3002\u9019\u5c31\u662f\u73fe\u4ee3\u8edf\u9ad4\u958b\u767c\u7684\u6838\u5fc3\u5fc3\u6cd5\u3002 gitGraph commit id: &quot;\u521d\u59cb\u5c08\u6848&quot; commit id: &quot;\u7db2\u9801\u9996\u9801\u5b8c\u6210&quot; branch feature\/cool-ui checkout feature\/cool-ui commit id:\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/hyc.eshachem.com\/program\/wp-content\/uploads\/2026\/06\/cropped-cropped-\u672a\u547d\u540d\u8a2d\u8a08-4.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\\\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\\\/4-%e5%88%86%e6%94%af-branch\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/hyc.eshachem.com\\\/program#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\\\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\\\/#listItem\",\"name\":\"\\u3010Git \\\/ GitHub \\u6559\\u5b78\\u3011\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\\\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\\\/#listItem\",\"position\":2,\"name\":\"\\u3010Git \\\/ GitHub \\u6559\\u5b78\\u3011\",\"item\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\\\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\\\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\\\/4-%e5%88%86%e6%94%af-branch\\\/#listItem\",\"name\":\"4. \\u5206\\u652f Branch\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/hyc.eshachem.com\\\/program#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\\\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\\\/4-%e5%88%86%e6%94%af-branch\\\/#listItem\",\"position\":3,\"name\":\"4. \\u5206\\u652f Branch\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\\\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\\\/#listItem\",\"name\":\"\\u3010Git \\\/ GitHub \\u6559\\u5b78\\u3011\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\\\/#person\",\"name\":\"H.Y. Chen\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\\\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\\\/4-%e5%88%86%e6%94%af-branch\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fc6e05e080c9ea570267ee9ed68c8b1841d745cee07c0331c5440646e0646603?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"H.Y. Chen\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\\\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\\\/4-%e5%88%86%e6%94%af-branch\\\/#webpage\",\"url\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\\\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\\\/4-%e5%88%86%e6%94%af-branch\\\/\",\"name\":\"4. \\u5206\\u652f Branch - HyC Wiki\",\"description\":\"\\u5728\\u524d\\u9762\\u7684\\u7ae0\\u7bc0\\u4e2d\\uff0c\\u6211\\u5011\\u5b78\\u6703\\u4e86\\u5efa\\u7acb\\u5c08\\u6848\\u3001\\u5728\\u672c\\u5730\\u8207\\u96f2\\u7aef\\u540c\\u6b65\\u6a94\\u6848\\uff0c\\u751a\\u81f3\\u662f\\u4e0d\\u5c0f\\u5fc3\\u63a8\\u932f\\u6a94\\u6642\\u7684\\u7dca\\u6025\\u6551\\u63f4\\u3002\\u4f46\\u4f60\\u6709\\u6c92\\u6709\\u767c\\u73fe\\uff0c\\u5230\\u76ee\\u524d\\u70ba\\u6b62\\uff0c\\u6211\\u5011\\u6240\\u6709\\u4eba\\u90fd\\u662f\\u64e0\\u5728\\u4e00\\u689d\\u53eb\\u505a main \\u7684\\u76f4\\u7dda\\u4e0a\\u958b\\u767c\\uff1f \\u60f3\\u50cf\\u4e00\\u4e0b\\u9019\\u500b\\u6050\\u6016\\u60c5\\u5883\\uff1a\\u4f60\\u6b63\\u5728 main \\u4e0a\\u4fee\\u6539\\u65b0\\u529f\\u80fd\\uff0c\\u7a0b\\u5f0f\\u78bc\\u6539\\u5230\\u4e00\\u534a\\u3001\\u6eff\\u5730 Bug\\u3002\\u9019\\u6642\\u8001\\u95c6\\u7a81\\u7136\\u6253\\u4f86\\u8aaa:\\u300c\\u7db2\\u7ad9\\u7684\\u767b\\u5165\\u529f\\u80fd\\u58de\\u4e86\\uff0c\\u9650\\u4f60 10 \\u5206\\u9418\\u5167\\u4fee\\u597d\\u4e0a\\u7dda\\uff01\\u300d \\u6b64\\u6642\\u7684\\u4f60\\u9032\\u9000\\u5169\\u96e3\\uff1a \\u628a\\u624b\\u908a\\u6539\\u5230\\u4e00\\u534a\\u3001\\u58de\\u6389\\u7684\\u7a0b\\u5f0f\\u78bc\\u786c\\u8457\\u982d\\u76ae Commit \\u4e26\\u63a8\\u4e0a\\u53bb\\uff1f\\uff08\\u7db2\\u7ad9\\u6703\\u76f4\\u63a5\\u5168\\u7ad9\\u70b8\\u958b\\uff09 \\u72c2\\u6309 Ctrl + Z \\u628a\\u65b0\\u529f\\u80fd\\u5168\\u522a\\u6389\\uff0c\\u5148\\u4fee Bug\\uff1f\\uff08\\u9019\\u5e7e\\u5929\\u7684\\u52aa\\u529b\\u5168\\u767d\\u8cbb\\uff09 \\u5982\\u679c\\u4f60\\u61c2\\u5f97\\u4f7f\\u7528 Branch\\uff08\\u5206\\u652f\\uff09\\uff0c\\u90a3\\u9762\\u5c0d\\u9019\\u7a2e\\u60c5\\u5883\\u6642\\uff0c\\u4f60\\u81ea\\u7136\\u80fd\\u5f9e\\u5bb9\\u61c9\\u5c0d\\u4e86\\u3002 1. \\u4ec0\\u9ebc\\u662f Branch\\uff08\\u5206\\u652f\\uff09\\uff1f \\u7c21\\u55ae\\u4f86\\u8aaa\\uff0c\\u5206\\u652f\\u5c31\\u662f\\u7a0b\\u5f0f\\u78bc\\u7684\\u300c\\u5e73\\u884c\\u5b87\\u5b99\\u300d\\u3002 \\u5728 Git \\u7684\\u4e16\\u754c\\u88e1\\uff0c\\u9810\\u8a2d\\u7684\\u4e3b\\u7dda\\u5b87\\u5b99\\u53eb\\u505a main\\uff08\\u820a\\u7248\\u53eb master\\uff09\\uff0c\\u9019\\u689d\\u4e3b\\u7dda\\u901a\\u5e38\\u7528\\u4f86\\u5b58\\u653e\\u96a8\\u6642\\u53ef\\u4ee5\\u7a69\\u5b9a\\u57f7\\u884c\\u3001\\u8981\\u7d66\\u5ba2\\u6236\\u770b\\u7684\\u6b63\\u5f0f\\u7248\\u7a0b\\u5f0f\\u78bc\\u3002 \\u7576\\u4f60\\u60f3\\u958b\\u767c\\u65b0\\u529f\\u80fd\\uff08Feature\\uff09\\u6216\\u4fee\\u5fa9 Bug \\u6642\\uff0c\\u4f60\\u4e0d\\u9700\\u8981\\u4e5f\\u4e0d\\u61c9\\u8a72\\u76f4\\u63a5\\u5728 main \\u4e0a\\u9762\\u52d5\\u5200\\u3002\\u4f60\\u53ef\\u4ee5\\u5f9e main \\u62c9\\u51fa\\u4e00\\u500b\\u5e73\\u884c\\u5b87\\u5b99\\uff08\\u5efa\\u7acb\\u65b0\\u5206\\u652f\\uff09\\uff0c\\u5728\\u9019\\u500b\\u5b87\\u5b99\\u88e1\\uff0c\\u4f60\\u611b\\u600e\\u9ebc\\u6539\\u5c31\\u600e\\u9ebc\\u6539\\uff0c\\u5c31\\u7b97\\u6539\\u5230\\u5168\\u9762\\u5d29\\u6f70\\uff0cmain \\u5b87\\u5b99\\u88e1\\u7684\\u6b63\\u5f0f\\u7db2\\u7ad9\\u4f9d\\u7136\\u5b8c\\u597d\\u7121\\u640d\\u3001\\u5b89\\u5168\\u904b\\u4f5c\\u3002 \\u7b49\\u4f60\\u5728\\u5e73\\u884c\\u5b87\\u5b99\\u628a\\u65b0\\u529f\\u80fd\\u6e2c\\u8a66\\u5b8c\\u7f8e\\u4e86\\uff0c\\u518d\\u628a\\u9019\\u689d\\u5206\\u652f\\u300c\\u5408\\u4f75 (Merge)\\u300d\\u56de main \\u5b87\\u5b99\\u3002\\u9019\\u5c31\\u662f\\u73fe\\u4ee3\\u8edf\\u9ad4\\u958b\\u767c\\u7684\\u6838\\u5fc3\\u5fc3\\u6cd5\\u3002 gitGraph commit id: \\\"\\u521d\\u59cb\\u5c08\\u6848\\\" commit id: \\\"\\u7db2\\u9801\\u9996\\u9801\\u5b8c\\u6210\\\" branch feature\\\/cool-ui checkout feature\\\/cool-ui commit id:\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\\\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\\\/4-%e5%88%86%e6%94%af-branch\\\/#breadcrumblist\"},\"datePublished\":\"2026-06-25T02:08:49+00:00\",\"dateModified\":\"2026-06-25T13:34:25+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\\\/#website\",\"url\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\\\/\",\"name\":\"HyC Wiki\",\"description\":\"Technical articles\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/hyc.eshachem.com\\\/program\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"4. \u5206\u652f Branch - HyC Wiki","description":"\u5728\u524d\u9762\u7684\u7ae0\u7bc0\u4e2d\uff0c\u6211\u5011\u5b78\u6703\u4e86\u5efa\u7acb\u5c08\u6848\u3001\u5728\u672c\u5730\u8207\u96f2\u7aef\u540c\u6b65\u6a94\u6848\uff0c\u751a\u81f3\u662f\u4e0d\u5c0f\u5fc3\u63a8\u932f\u6a94\u6642\u7684\u7dca\u6025\u6551\u63f4\u3002\u4f46\u4f60\u6709\u6c92\u6709\u767c\u73fe\uff0c\u5230\u76ee\u524d\u70ba\u6b62\uff0c\u6211\u5011\u6240\u6709\u4eba\u90fd\u662f\u64e0\u5728\u4e00\u689d\u53eb\u505a main \u7684\u76f4\u7dda\u4e0a\u958b\u767c\uff1f \u60f3\u50cf\u4e00\u4e0b\u9019\u500b\u6050\u6016\u60c5\u5883\uff1a\u4f60\u6b63\u5728 main \u4e0a\u4fee\u6539\u65b0\u529f\u80fd\uff0c\u7a0b\u5f0f\u78bc\u6539\u5230\u4e00\u534a\u3001\u6eff\u5730 Bug\u3002\u9019\u6642\u8001\u95c6\u7a81\u7136\u6253\u4f86\u8aaa:\u300c\u7db2\u7ad9\u7684\u767b\u5165\u529f\u80fd\u58de\u4e86\uff0c\u9650\u4f60 10 \u5206\u9418\u5167\u4fee\u597d\u4e0a\u7dda\uff01\u300d \u6b64\u6642\u7684\u4f60\u9032\u9000\u5169\u96e3\uff1a \u628a\u624b\u908a\u6539\u5230\u4e00\u534a\u3001\u58de\u6389\u7684\u7a0b\u5f0f\u78bc\u786c\u8457\u982d\u76ae Commit \u4e26\u63a8\u4e0a\u53bb\uff1f\uff08\u7db2\u7ad9\u6703\u76f4\u63a5\u5168\u7ad9\u70b8\u958b\uff09 \u72c2\u6309 Ctrl + Z \u628a\u65b0\u529f\u80fd\u5168\u522a\u6389\uff0c\u5148\u4fee Bug\uff1f\uff08\u9019\u5e7e\u5929\u7684\u52aa\u529b\u5168\u767d\u8cbb\uff09 \u5982\u679c\u4f60\u61c2\u5f97\u4f7f\u7528 Branch\uff08\u5206\u652f\uff09\uff0c\u90a3\u9762\u5c0d\u9019\u7a2e\u60c5\u5883\u6642\uff0c\u4f60\u81ea\u7136\u80fd\u5f9e\u5bb9\u61c9\u5c0d\u4e86\u3002 1. \u4ec0\u9ebc\u662f Branch\uff08\u5206\u652f\uff09\uff1f \u7c21\u55ae\u4f86\u8aaa\uff0c\u5206\u652f\u5c31\u662f\u7a0b\u5f0f\u78bc\u7684\u300c\u5e73\u884c\u5b87\u5b99\u300d\u3002 \u5728 Git \u7684\u4e16\u754c\u88e1\uff0c\u9810\u8a2d\u7684\u4e3b\u7dda\u5b87\u5b99\u53eb\u505a main\uff08\u820a\u7248\u53eb master\uff09\uff0c\u9019\u689d\u4e3b\u7dda\u901a\u5e38\u7528\u4f86\u5b58\u653e\u96a8\u6642\u53ef\u4ee5\u7a69\u5b9a\u57f7\u884c\u3001\u8981\u7d66\u5ba2\u6236\u770b\u7684\u6b63\u5f0f\u7248\u7a0b\u5f0f\u78bc\u3002 \u7576\u4f60\u60f3\u958b\u767c\u65b0\u529f\u80fd\uff08Feature\uff09\u6216\u4fee\u5fa9 Bug \u6642\uff0c\u4f60\u4e0d\u9700\u8981\u4e5f\u4e0d\u61c9\u8a72\u76f4\u63a5\u5728 main \u4e0a\u9762\u52d5\u5200\u3002\u4f60\u53ef\u4ee5\u5f9e main \u62c9\u51fa\u4e00\u500b\u5e73\u884c\u5b87\u5b99\uff08\u5efa\u7acb\u65b0\u5206\u652f\uff09\uff0c\u5728\u9019\u500b\u5b87\u5b99\u88e1\uff0c\u4f60\u611b\u600e\u9ebc\u6539\u5c31\u600e\u9ebc\u6539\uff0c\u5c31\u7b97\u6539\u5230\u5168\u9762\u5d29\u6f70\uff0cmain \u5b87\u5b99\u88e1\u7684\u6b63\u5f0f\u7db2\u7ad9\u4f9d\u7136\u5b8c\u597d\u7121\u640d\u3001\u5b89\u5168\u904b\u4f5c\u3002 \u7b49\u4f60\u5728\u5e73\u884c\u5b87\u5b99\u628a\u65b0\u529f\u80fd\u6e2c\u8a66\u5b8c\u7f8e\u4e86\uff0c\u518d\u628a\u9019\u689d\u5206\u652f\u300c\u5408\u4f75 (Merge)\u300d\u56de main \u5b87\u5b99\u3002\u9019\u5c31\u662f\u73fe\u4ee3\u8edf\u9ad4\u958b\u767c\u7684\u6838\u5fc3\u5fc3\u6cd5\u3002 gitGraph commit id: \"\u521d\u59cb\u5c08\u6848\" commit id: \"\u7db2\u9801\u9996\u9801\u5b8c\u6210\" branch feature\/cool-ui checkout feature\/cool-ui commit id:","canonical_url":"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/4-%e5%88%86%e6%94%af-branch\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"-324YR5tomynX5FeTW2lTMHIX0KmPBvpxjXpOhXwi1Q","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/4-%e5%88%86%e6%94%af-branch\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/hyc.eshachem.com\/program#listItem","position":1,"name":"Home","item":"https:\/\/hyc.eshachem.com\/program","nextItem":{"@type":"ListItem","@id":"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/#listItem","name":"\u3010Git \/ GitHub \u6559\u5b78\u3011"}},{"@type":"ListItem","@id":"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/#listItem","position":2,"name":"\u3010Git \/ GitHub \u6559\u5b78\u3011","item":"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/","nextItem":{"@type":"ListItem","@id":"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/4-%e5%88%86%e6%94%af-branch\/#listItem","name":"4. \u5206\u652f Branch"},"previousItem":{"@type":"ListItem","@id":"https:\/\/hyc.eshachem.com\/program#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/4-%e5%88%86%e6%94%af-branch\/#listItem","position":3,"name":"4. \u5206\u652f Branch","previousItem":{"@type":"ListItem","@id":"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/#listItem","name":"\u3010Git \/ GitHub \u6559\u5b78\u3011"}}]},{"@type":"Person","@id":"https:\/\/hyc.eshachem.com\/program\/#person","name":"H.Y. Chen","image":{"@type":"ImageObject","@id":"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/4-%e5%88%86%e6%94%af-branch\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/fc6e05e080c9ea570267ee9ed68c8b1841d745cee07c0331c5440646e0646603?s=96&d=mm&r=g","width":96,"height":96,"caption":"H.Y. Chen"}},{"@type":"WebPage","@id":"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/4-%e5%88%86%e6%94%af-branch\/#webpage","url":"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/4-%e5%88%86%e6%94%af-branch\/","name":"4. \u5206\u652f Branch - HyC Wiki","description":"\u5728\u524d\u9762\u7684\u7ae0\u7bc0\u4e2d\uff0c\u6211\u5011\u5b78\u6703\u4e86\u5efa\u7acb\u5c08\u6848\u3001\u5728\u672c\u5730\u8207\u96f2\u7aef\u540c\u6b65\u6a94\u6848\uff0c\u751a\u81f3\u662f\u4e0d\u5c0f\u5fc3\u63a8\u932f\u6a94\u6642\u7684\u7dca\u6025\u6551\u63f4\u3002\u4f46\u4f60\u6709\u6c92\u6709\u767c\u73fe\uff0c\u5230\u76ee\u524d\u70ba\u6b62\uff0c\u6211\u5011\u6240\u6709\u4eba\u90fd\u662f\u64e0\u5728\u4e00\u689d\u53eb\u505a main \u7684\u76f4\u7dda\u4e0a\u958b\u767c\uff1f \u60f3\u50cf\u4e00\u4e0b\u9019\u500b\u6050\u6016\u60c5\u5883\uff1a\u4f60\u6b63\u5728 main \u4e0a\u4fee\u6539\u65b0\u529f\u80fd\uff0c\u7a0b\u5f0f\u78bc\u6539\u5230\u4e00\u534a\u3001\u6eff\u5730 Bug\u3002\u9019\u6642\u8001\u95c6\u7a81\u7136\u6253\u4f86\u8aaa:\u300c\u7db2\u7ad9\u7684\u767b\u5165\u529f\u80fd\u58de\u4e86\uff0c\u9650\u4f60 10 \u5206\u9418\u5167\u4fee\u597d\u4e0a\u7dda\uff01\u300d \u6b64\u6642\u7684\u4f60\u9032\u9000\u5169\u96e3\uff1a \u628a\u624b\u908a\u6539\u5230\u4e00\u534a\u3001\u58de\u6389\u7684\u7a0b\u5f0f\u78bc\u786c\u8457\u982d\u76ae Commit \u4e26\u63a8\u4e0a\u53bb\uff1f\uff08\u7db2\u7ad9\u6703\u76f4\u63a5\u5168\u7ad9\u70b8\u958b\uff09 \u72c2\u6309 Ctrl + Z \u628a\u65b0\u529f\u80fd\u5168\u522a\u6389\uff0c\u5148\u4fee Bug\uff1f\uff08\u9019\u5e7e\u5929\u7684\u52aa\u529b\u5168\u767d\u8cbb\uff09 \u5982\u679c\u4f60\u61c2\u5f97\u4f7f\u7528 Branch\uff08\u5206\u652f\uff09\uff0c\u90a3\u9762\u5c0d\u9019\u7a2e\u60c5\u5883\u6642\uff0c\u4f60\u81ea\u7136\u80fd\u5f9e\u5bb9\u61c9\u5c0d\u4e86\u3002 1. \u4ec0\u9ebc\u662f Branch\uff08\u5206\u652f\uff09\uff1f \u7c21\u55ae\u4f86\u8aaa\uff0c\u5206\u652f\u5c31\u662f\u7a0b\u5f0f\u78bc\u7684\u300c\u5e73\u884c\u5b87\u5b99\u300d\u3002 \u5728 Git \u7684\u4e16\u754c\u88e1\uff0c\u9810\u8a2d\u7684\u4e3b\u7dda\u5b87\u5b99\u53eb\u505a main\uff08\u820a\u7248\u53eb master\uff09\uff0c\u9019\u689d\u4e3b\u7dda\u901a\u5e38\u7528\u4f86\u5b58\u653e\u96a8\u6642\u53ef\u4ee5\u7a69\u5b9a\u57f7\u884c\u3001\u8981\u7d66\u5ba2\u6236\u770b\u7684\u6b63\u5f0f\u7248\u7a0b\u5f0f\u78bc\u3002 \u7576\u4f60\u60f3\u958b\u767c\u65b0\u529f\u80fd\uff08Feature\uff09\u6216\u4fee\u5fa9 Bug \u6642\uff0c\u4f60\u4e0d\u9700\u8981\u4e5f\u4e0d\u61c9\u8a72\u76f4\u63a5\u5728 main \u4e0a\u9762\u52d5\u5200\u3002\u4f60\u53ef\u4ee5\u5f9e main \u62c9\u51fa\u4e00\u500b\u5e73\u884c\u5b87\u5b99\uff08\u5efa\u7acb\u65b0\u5206\u652f\uff09\uff0c\u5728\u9019\u500b\u5b87\u5b99\u88e1\uff0c\u4f60\u611b\u600e\u9ebc\u6539\u5c31\u600e\u9ebc\u6539\uff0c\u5c31\u7b97\u6539\u5230\u5168\u9762\u5d29\u6f70\uff0cmain \u5b87\u5b99\u88e1\u7684\u6b63\u5f0f\u7db2\u7ad9\u4f9d\u7136\u5b8c\u597d\u7121\u640d\u3001\u5b89\u5168\u904b\u4f5c\u3002 \u7b49\u4f60\u5728\u5e73\u884c\u5b87\u5b99\u628a\u65b0\u529f\u80fd\u6e2c\u8a66\u5b8c\u7f8e\u4e86\uff0c\u518d\u628a\u9019\u689d\u5206\u652f\u300c\u5408\u4f75 (Merge)\u300d\u56de main \u5b87\u5b99\u3002\u9019\u5c31\u662f\u73fe\u4ee3\u8edf\u9ad4\u958b\u767c\u7684\u6838\u5fc3\u5fc3\u6cd5\u3002 gitGraph commit id: \"\u521d\u59cb\u5c08\u6848\" commit id: \"\u7db2\u9801\u9996\u9801\u5b8c\u6210\" branch feature\/cool-ui checkout feature\/cool-ui commit id:","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/hyc.eshachem.com\/program\/#website"},"breadcrumb":{"@id":"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/4-%e5%88%86%e6%94%af-branch\/#breadcrumblist"},"datePublished":"2026-06-25T02:08:49+00:00","dateModified":"2026-06-25T13:34:25+00:00"},{"@type":"WebSite","@id":"https:\/\/hyc.eshachem.com\/program\/#website","url":"https:\/\/hyc.eshachem.com\/program\/","name":"HyC Wiki","description":"Technical articles","inLanguage":"en-US","publisher":{"@id":"https:\/\/hyc.eshachem.com\/program\/#person"}}]},"og:locale":"en_US","og:site_name":"HyC Wiki - Technical articles","og:type":"article","og:title":"4. \u5206\u652f Branch - HyC Wiki","og:description":"\u5728\u524d\u9762\u7684\u7ae0\u7bc0\u4e2d\uff0c\u6211\u5011\u5b78\u6703\u4e86\u5efa\u7acb\u5c08\u6848\u3001\u5728\u672c\u5730\u8207\u96f2\u7aef\u540c\u6b65\u6a94\u6848\uff0c\u751a\u81f3\u662f\u4e0d\u5c0f\u5fc3\u63a8\u932f\u6a94\u6642\u7684\u7dca\u6025\u6551\u63f4\u3002\u4f46\u4f60\u6709\u6c92\u6709\u767c\u73fe\uff0c\u5230\u76ee\u524d\u70ba\u6b62\uff0c\u6211\u5011\u6240\u6709\u4eba\u90fd\u662f\u64e0\u5728\u4e00\u689d\u53eb\u505a main \u7684\u76f4\u7dda\u4e0a\u958b\u767c\uff1f \u60f3\u50cf\u4e00\u4e0b\u9019\u500b\u6050\u6016\u60c5\u5883\uff1a\u4f60\u6b63\u5728 main \u4e0a\u4fee\u6539\u65b0\u529f\u80fd\uff0c\u7a0b\u5f0f\u78bc\u6539\u5230\u4e00\u534a\u3001\u6eff\u5730 Bug\u3002\u9019\u6642\u8001\u95c6\u7a81\u7136\u6253\u4f86\u8aaa:\u300c\u7db2\u7ad9\u7684\u767b\u5165\u529f\u80fd\u58de\u4e86\uff0c\u9650\u4f60 10 \u5206\u9418\u5167\u4fee\u597d\u4e0a\u7dda\uff01\u300d \u6b64\u6642\u7684\u4f60\u9032\u9000\u5169\u96e3\uff1a \u628a\u624b\u908a\u6539\u5230\u4e00\u534a\u3001\u58de\u6389\u7684\u7a0b\u5f0f\u78bc\u786c\u8457\u982d\u76ae Commit \u4e26\u63a8\u4e0a\u53bb\uff1f\uff08\u7db2\u7ad9\u6703\u76f4\u63a5\u5168\u7ad9\u70b8\u958b\uff09 \u72c2\u6309 Ctrl + Z \u628a\u65b0\u529f\u80fd\u5168\u522a\u6389\uff0c\u5148\u4fee Bug\uff1f\uff08\u9019\u5e7e\u5929\u7684\u52aa\u529b\u5168\u767d\u8cbb\uff09 \u5982\u679c\u4f60\u61c2\u5f97\u4f7f\u7528 Branch\uff08\u5206\u652f\uff09\uff0c\u90a3\u9762\u5c0d\u9019\u7a2e\u60c5\u5883\u6642\uff0c\u4f60\u81ea\u7136\u80fd\u5f9e\u5bb9\u61c9\u5c0d\u4e86\u3002 1. \u4ec0\u9ebc\u662f Branch\uff08\u5206\u652f\uff09\uff1f \u7c21\u55ae\u4f86\u8aaa\uff0c\u5206\u652f\u5c31\u662f\u7a0b\u5f0f\u78bc\u7684\u300c\u5e73\u884c\u5b87\u5b99\u300d\u3002 \u5728 Git \u7684\u4e16\u754c\u88e1\uff0c\u9810\u8a2d\u7684\u4e3b\u7dda\u5b87\u5b99\u53eb\u505a main\uff08\u820a\u7248\u53eb master\uff09\uff0c\u9019\u689d\u4e3b\u7dda\u901a\u5e38\u7528\u4f86\u5b58\u653e\u96a8\u6642\u53ef\u4ee5\u7a69\u5b9a\u57f7\u884c\u3001\u8981\u7d66\u5ba2\u6236\u770b\u7684\u6b63\u5f0f\u7248\u7a0b\u5f0f\u78bc\u3002 \u7576\u4f60\u60f3\u958b\u767c\u65b0\u529f\u80fd\uff08Feature\uff09\u6216\u4fee\u5fa9 Bug \u6642\uff0c\u4f60\u4e0d\u9700\u8981\u4e5f\u4e0d\u61c9\u8a72\u76f4\u63a5\u5728 main \u4e0a\u9762\u52d5\u5200\u3002\u4f60\u53ef\u4ee5\u5f9e main \u62c9\u51fa\u4e00\u500b\u5e73\u884c\u5b87\u5b99\uff08\u5efa\u7acb\u65b0\u5206\u652f\uff09\uff0c\u5728\u9019\u500b\u5b87\u5b99\u88e1\uff0c\u4f60\u611b\u600e\u9ebc\u6539\u5c31\u600e\u9ebc\u6539\uff0c\u5c31\u7b97\u6539\u5230\u5168\u9762\u5d29\u6f70\uff0cmain \u5b87\u5b99\u88e1\u7684\u6b63\u5f0f\u7db2\u7ad9\u4f9d\u7136\u5b8c\u597d\u7121\u640d\u3001\u5b89\u5168\u904b\u4f5c\u3002 \u7b49\u4f60\u5728\u5e73\u884c\u5b87\u5b99\u628a\u65b0\u529f\u80fd\u6e2c\u8a66\u5b8c\u7f8e\u4e86\uff0c\u518d\u628a\u9019\u689d\u5206\u652f\u300c\u5408\u4f75 (Merge)\u300d\u56de main \u5b87\u5b99\u3002\u9019\u5c31\u662f\u73fe\u4ee3\u8edf\u9ad4\u958b\u767c\u7684\u6838\u5fc3\u5fc3\u6cd5\u3002 gitGraph commit id: &quot;\u521d\u59cb\u5c08\u6848&quot; commit id: &quot;\u7db2\u9801\u9996\u9801\u5b8c\u6210&quot; branch feature\/cool-ui checkout feature\/cool-ui commit id:","og:url":"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/4-%e5%88%86%e6%94%af-branch\/","og:image":"https:\/\/hyc.eshachem.com\/program\/wp-content\/uploads\/2026\/06\/cropped-cropped-\u672a\u547d\u540d\u8a2d\u8a08-4.png","og:image:secure_url":"https:\/\/hyc.eshachem.com\/program\/wp-content\/uploads\/2026\/06\/cropped-cropped-\u672a\u547d\u540d\u8a2d\u8a08-4.png","og:image:width":64,"og:image:height":64,"article:published_time":"2026-06-25T02:08:49+00:00","article:modified_time":"2026-06-25T13:34:25+00:00","twitter:card":"summary_large_image","twitter:title":"4. \u5206\u652f Branch - HyC Wiki","twitter:description":"\u5728\u524d\u9762\u7684\u7ae0\u7bc0\u4e2d\uff0c\u6211\u5011\u5b78\u6703\u4e86\u5efa\u7acb\u5c08\u6848\u3001\u5728\u672c\u5730\u8207\u96f2\u7aef\u540c\u6b65\u6a94\u6848\uff0c\u751a\u81f3\u662f\u4e0d\u5c0f\u5fc3\u63a8\u932f\u6a94\u6642\u7684\u7dca\u6025\u6551\u63f4\u3002\u4f46\u4f60\u6709\u6c92\u6709\u767c\u73fe\uff0c\u5230\u76ee\u524d\u70ba\u6b62\uff0c\u6211\u5011\u6240\u6709\u4eba\u90fd\u662f\u64e0\u5728\u4e00\u689d\u53eb\u505a main \u7684\u76f4\u7dda\u4e0a\u958b\u767c\uff1f \u60f3\u50cf\u4e00\u4e0b\u9019\u500b\u6050\u6016\u60c5\u5883\uff1a\u4f60\u6b63\u5728 main \u4e0a\u4fee\u6539\u65b0\u529f\u80fd\uff0c\u7a0b\u5f0f\u78bc\u6539\u5230\u4e00\u534a\u3001\u6eff\u5730 Bug\u3002\u9019\u6642\u8001\u95c6\u7a81\u7136\u6253\u4f86\u8aaa:\u300c\u7db2\u7ad9\u7684\u767b\u5165\u529f\u80fd\u58de\u4e86\uff0c\u9650\u4f60 10 \u5206\u9418\u5167\u4fee\u597d\u4e0a\u7dda\uff01\u300d \u6b64\u6642\u7684\u4f60\u9032\u9000\u5169\u96e3\uff1a \u628a\u624b\u908a\u6539\u5230\u4e00\u534a\u3001\u58de\u6389\u7684\u7a0b\u5f0f\u78bc\u786c\u8457\u982d\u76ae Commit \u4e26\u63a8\u4e0a\u53bb\uff1f\uff08\u7db2\u7ad9\u6703\u76f4\u63a5\u5168\u7ad9\u70b8\u958b\uff09 \u72c2\u6309 Ctrl + Z \u628a\u65b0\u529f\u80fd\u5168\u522a\u6389\uff0c\u5148\u4fee Bug\uff1f\uff08\u9019\u5e7e\u5929\u7684\u52aa\u529b\u5168\u767d\u8cbb\uff09 \u5982\u679c\u4f60\u61c2\u5f97\u4f7f\u7528 Branch\uff08\u5206\u652f\uff09\uff0c\u90a3\u9762\u5c0d\u9019\u7a2e\u60c5\u5883\u6642\uff0c\u4f60\u81ea\u7136\u80fd\u5f9e\u5bb9\u61c9\u5c0d\u4e86\u3002 1. \u4ec0\u9ebc\u662f Branch\uff08\u5206\u652f\uff09\uff1f \u7c21\u55ae\u4f86\u8aaa\uff0c\u5206\u652f\u5c31\u662f\u7a0b\u5f0f\u78bc\u7684\u300c\u5e73\u884c\u5b87\u5b99\u300d\u3002 \u5728 Git \u7684\u4e16\u754c\u88e1\uff0c\u9810\u8a2d\u7684\u4e3b\u7dda\u5b87\u5b99\u53eb\u505a main\uff08\u820a\u7248\u53eb master\uff09\uff0c\u9019\u689d\u4e3b\u7dda\u901a\u5e38\u7528\u4f86\u5b58\u653e\u96a8\u6642\u53ef\u4ee5\u7a69\u5b9a\u57f7\u884c\u3001\u8981\u7d66\u5ba2\u6236\u770b\u7684\u6b63\u5f0f\u7248\u7a0b\u5f0f\u78bc\u3002 \u7576\u4f60\u60f3\u958b\u767c\u65b0\u529f\u80fd\uff08Feature\uff09\u6216\u4fee\u5fa9 Bug \u6642\uff0c\u4f60\u4e0d\u9700\u8981\u4e5f\u4e0d\u61c9\u8a72\u76f4\u63a5\u5728 main \u4e0a\u9762\u52d5\u5200\u3002\u4f60\u53ef\u4ee5\u5f9e main \u62c9\u51fa\u4e00\u500b\u5e73\u884c\u5b87\u5b99\uff08\u5efa\u7acb\u65b0\u5206\u652f\uff09\uff0c\u5728\u9019\u500b\u5b87\u5b99\u88e1\uff0c\u4f60\u611b\u600e\u9ebc\u6539\u5c31\u600e\u9ebc\u6539\uff0c\u5c31\u7b97\u6539\u5230\u5168\u9762\u5d29\u6f70\uff0cmain \u5b87\u5b99\u88e1\u7684\u6b63\u5f0f\u7db2\u7ad9\u4f9d\u7136\u5b8c\u597d\u7121\u640d\u3001\u5b89\u5168\u904b\u4f5c\u3002 \u7b49\u4f60\u5728\u5e73\u884c\u5b87\u5b99\u628a\u65b0\u529f\u80fd\u6e2c\u8a66\u5b8c\u7f8e\u4e86\uff0c\u518d\u628a\u9019\u689d\u5206\u652f\u300c\u5408\u4f75 (Merge)\u300d\u56de main \u5b87\u5b99\u3002\u9019\u5c31\u662f\u73fe\u4ee3\u8edf\u9ad4\u958b\u767c\u7684\u6838\u5fc3\u5fc3\u6cd5\u3002 gitGraph commit id: &quot;\u521d\u59cb\u5c08\u6848&quot; commit id: &quot;\u7db2\u9801\u9996\u9801\u5b8c\u6210&quot; branch feature\/cool-ui checkout feature\/cool-ui commit id:","twitter:image":"https:\/\/hyc.eshachem.com\/program\/wp-content\/uploads\/2026\/06\/cropped-cropped-\u672a\u547d\u540d\u8a2d\u8a08-4.png"},"aioseo_meta_data":{"post_id":"770","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-07-28 14:27:59","updated":"2026-07-28 14:27:59"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/hyc.eshachem.com\/program\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/\" title=\"\u3010Git \/ GitHub \u6559\u5b78\u3011\">\u3010Git \/ GitHub \u6559\u5b78\u3011<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t4. \u5206\u652f Branch\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/hyc.eshachem.com\/program"},{"label":"\u3010Git \/ GitHub \u6559\u5b78\u3011","link":"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/"},{"label":"4. \u5206\u652f Branch","link":"https:\/\/hyc.eshachem.com\/program\/%e3%80%90git-github-%e6%95%99%e5%ad%b8%e3%80%91\/4-%e5%88%86%e6%94%af-branch\/"}],"_links":{"self":[{"href":"https:\/\/hyc.eshachem.com\/program\/wp-json\/wp\/v2\/pages\/770","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hyc.eshachem.com\/program\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/hyc.eshachem.com\/program\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/hyc.eshachem.com\/program\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hyc.eshachem.com\/program\/wp-json\/wp\/v2\/comments?post=770"}],"version-history":[{"count":5,"href":"https:\/\/hyc.eshachem.com\/program\/wp-json\/wp\/v2\/pages\/770\/revisions"}],"predecessor-version":[{"id":789,"href":"https:\/\/hyc.eshachem.com\/program\/wp-json\/wp\/v2\/pages\/770\/revisions\/789"}],"up":[{"embeddable":true,"href":"https:\/\/hyc.eshachem.com\/program\/wp-json\/wp\/v2\/pages\/744"}],"wp:attachment":[{"href":"https:\/\/hyc.eshachem.com\/program\/wp-json\/wp\/v2\/media?parent=770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}