{"id":20393,"date":"2024-11-19T08:33:56","date_gmt":"2024-11-19T00:33:56","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20393\/"},"modified":"2024-11-19T08:33:56","modified_gmt":"2024-11-19T00:33:56","slug":"gitlab%e7%9a%84%e5%a4%9a%e4%bb%93%e5%ba%93%e5%8d%8f%e5%90%8c%e5%b7%a5%e4%bd%9c%e6%b5%81%e7%a8%8b%e5%8f%8a%e5%ae%9e%e8%b7%b5","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20393\/","title":{"rendered":"GitLab\u7684\u591a\u4ed3\u5e93\u534f\u540c\u5de5\u4f5c\u6d41\u7a0b\u53ca\u5b9e\u8df5"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/887\/227\/169778579071327.jpg\" class=\"aligncenter\" title=\"GitLab\u7684\u591a\u4ed3\u5e93\u534f\u540c\u5de5\u4f5c\u6d41\u7a0b\u53ca\u5b9e\u8df5\u63d2\u56fe\" alt=\"GitLab\u7684\u591a\u4ed3\u5e93\u534f\u540c\u5de5\u4f5c\u6d41\u7a0b\u53ca\u5b9e\u8df5\u63d2\u56fe\" \/><\/p>\n<p>GitLab\u7684\u591a\u4ed3\u5e93\u534f\u540c\u5de5\u4f5c\u6d41\u7a0b\u53ca\u5b9e\u8df5<\/p>\n<p>\u3010\u5f15\u8a00\u3011<br \/>\u5728\u8f6f\u4ef6\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u7279\u522b\u662f\u5728\u5927\u578b\u9879\u76ee\u4e2d\uff0c\u901a\u5e38\u9700\u8981\u540c\u65f6\u7ef4\u62a4\u591a\u4e2a\u4ee3\u7801\u4ed3\u5e93\u3002GitLab\u4f5c\u4e3a\u4e00\u4e2a\u5f3a\u5927\u7684\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff0c\u63d0\u4f9b\u4e86\u5404\u79cd\u529f\u80fd\u6765\u652f\u6301\u591a\u4ed3\u5e93\u7684\u534f\u540c\u5de5\u4f5c\u3002\u672c\u6587\u5c06\u4ecb\u7ecdGitLab\u7684\u591a\u4ed3\u5e93\u534f\u540c\u5de5\u4f5c\u6d41\u7a0b\u53ca\u5b9e\u8df5\uff0c\u5e76\u63d0\u4f9b\u5177\u4f53\u7684\u4ee3\u7801\u793a\u4f8b\u3002<\/p>\n<p>\u3010\u591a\u4ed3\u5e93\u534f\u540c\u5de5\u4f5c\u6d41\u7a0b\u3011<\/p>\n<ol>\n<li>\n<p>\u521b\u5efa\u4e3b\u4ed3\u5e93\uff1a\u9996\u5148\u521b\u5efa\u4e00\u4e2a\u4e3b\u4ed3\u5e93\uff0c\u8be5\u4ed3\u5e93\u7528\u4e8e\u7ba1\u7406\u9879\u76ee\u7684\u4e3b\u8981\u4ee3\u7801\u3002\u6211\u4eec\u53ef\u4ee5\u5728GitLab\u4e0a\u521b\u5efa\u4e00\u4e2a\u65b0\u9879\u76ee\uff0c\u5e76\u5c06\u8be5\u9879\u76ee\u514b\u9686\u5230\u672c\u5730\u3002<br \/>\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<pre>git clone <\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236   <\/li>\n<li>\n<p>\u521b\u5efa\u5b50\u4ed3\u5e93\uff1a\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u6216\u591a\u4e2a\u5b50\u4ed3\u5e93\uff0c\u7528\u4e8e\u7ba1\u7406\u4e0d\u540c\u7684\u6a21\u5757\u6216\u529f\u80fd\u3002\u6bcf\u4e2a\u5b50\u4ed3\u5e93\u90fd\u53ef\u4ee5\u5355\u72ec\u8fdb\u884c\u5f00\u53d1\uff0c\u5e76\u5728\u9700\u8981\u65f6\u4e0e\u4e3b\u4ed3\u5e93\u8fdb\u884c\u96c6\u6210\u3002<br \/>\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<pre>git clone <\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236   <\/li>\n<li>\n<p>\u521b\u5efa\u5206\u652f\uff1a\u5728\u4e3b\u4ed3\u5e93\u548c\u5b50\u4ed3\u5e93\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u6839\u636e\u9700\u8981\u521b\u5efa\u591a\u4e2a\u5206\u652f\uff0c\u7528\u4e8e\u4e0d\u540c\u7684\u5f00\u53d1\u4efb\u52a1\u6216\u7248\u672c\u8fed\u4ee3\u3002\u6bcf\u4e2a\u5206\u652f\u53ef\u4ee5\u72ec\u7acb\u8fdb\u884c\u5f00\u53d1\uff0c\u5e76\u5728\u5b8c\u6210\u540e\u8fdb\u884c\u5408\u5e76\u3002<br \/>\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<pre>git checkout -b <\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/li>\n<li>\n<p>\u5f00\u53d1\u548c\u63d0\u4ea4\uff1a\u5728\u5404\u4e2a\u4ed3\u5e93\u7684\u5bf9\u5e94\u5206\u652f\u4e0a\u8fdb\u884c\u5f00\u53d1\u5de5\u4f5c\uff0c\u5e76\u5b9a\u671f\u63d0\u4ea4\u4ee3\u7801\u5230\u8fdc\u7a0b\u4ed3\u5e93\u3002\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u4f7f\u7528\u5e38\u89c4\u7684Git\u547d\u4ee4\u8fdb\u884c\u4ee3\u7801\u63d0\u4ea4\uff0c\u5982add\u3001commit\u548cpush\u3002<br \/>\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<pre>git add .\ngit commit -m \"\u63d0\u4ea4\u8bf4\u660e\"\ngit push origin <\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/li>\n<li>\n<p>\u5408\u5e76\u5206\u652f\uff1a\u5f53\u4e00\u4e2a\u5206\u652f\u7684\u5f00\u53d1\u5de5\u4f5c\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u5c06\u5176\u5408\u5e76\u5230\u5176\u4ed6\u5206\u652f\u6216\u4e3b\u4ed3\u5e93\u4e2d\u3002\u5728GitLab\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5408\u5e76\u8bf7\u6c42\uff08Merge Request\uff09\u6765\u5bf9\u4ee3\u7801\u8fdb\u884c\u5ba1\u6838\u548c\u5408\u5e76\u3002<br \/>\u793a\u4f8b\u4ee3\u7801\uff08\u5408\u5e76\u5206\u652f\u5230\u4e3b\u4ed3\u5e93\uff09\uff1a<\/p>\n<pre>git checkout \ngit merge \ngit push origin <\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/li>\n<li>\n<p>\u89e3\u51b3\u51b2\u7a81\uff1a\u5728\u5408\u5e76\u5206\u652f\u65f6\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u4ee3\u7801\u51b2\u7a81\u7684\u60c5\u51b5\u3002\u51b2\u7a81\u901a\u5e38\u53d1\u751f\u5728\u591a\u4e2a\u5206\u652f\u5bf9\u540c\u4e00\u4ee3\u7801\u8fdb\u884c\u4e86\u4fee\u6539\u540e\u8fdb\u884c\u5408\u5e76\u65f6\u3002\u5728GitLab\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5408\u5e76\u8bf7\u6c42\u9875\u9762\u7684\u51b2\u7a81\u89e3\u51b3\u5de5\u5177\u6765\u89e3\u51b3\u51b2\u7a81\u3002<br \/>\u793a\u4f8b\u4ee3\u7801\uff08\u89e3\u51b3\u51b2\u7a81\uff09\uff1a<\/p>\n<pre>git checkout \ngit merge \n# \u89e3\u51b3\u51b2\u7a81\u540e\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\ngit add .\ngit commit -m \"\u89e3\u51b3\u51b2\u7a81\"\ngit push origin <\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/li>\n<li>\n<p>\u5b9a\u671f\u66f4\u65b0\uff1a\u5728\u591a\u4ed3\u5e93\u534f\u540c\u7684\u8fc7\u7a0b\u4e2d\uff0c\u4e3a\u4e86\u4fdd\u6301\u5404\u4e2a\u4ed3\u5e93\u7684\u540c\u6b65\uff0c\u6211\u4eec\u9700\u8981\u5b9a\u671f\u66f4\u65b0\u5176\u4ed6\u4ed3\u5e93\u7684\u6700\u65b0\u4ee3\u7801\u3002\u53ef\u4ee5\u4f7f\u7528git pull\u547d\u4ee4\u6765\u62c9\u53d6\u8fdc\u7a0b\u4ed3\u5e93\u7684\u66f4\u65b0\u3002<br \/>\u793a\u4f8b\u4ee3\u7801\uff08\u62c9\u53d6\u6700\u65b0\u4ee3\u7801\uff09\uff1a<\/p>\n<pre>git pull origin <\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/li>\n<\/ol>\n<p>\u3010\u793a\u4f8b\u573a\u666f\u3011<br \/>\u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a\u4e3b\u4ed3\u5e93\u7528\u4e8e\u7ba1\u7406\u9879\u76ee\u7684\u6838\u5fc3\u529f\u80fd\uff0c\u8fd8\u6709\u4e24\u4e2a\u5b50\u4ed3\u5e93\u5206\u522b\u7528\u4e8e\u5f00\u53d1\u9879\u76ee\u7684\u63d2\u4ef6\u3002\u6211\u4eec\u53ef\u4ee5\u6309\u7167\u5982\u4e0b\u6d41\u7a0b\u8fdb\u884c\u591a\u4ed3\u5e93\u534f\u540c\u5de5\u4f5c\uff1a<\/p>\n<ol>\n<li>\n<p>\u514b\u9686\u4e3b\u4ed3\u5e93\u5230\u672c\u5730\uff1a<\/p>\n<pre>git clone <\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236   <\/li>\n<li>\n<p>\u514b\u9686\u5b50\u4ed3\u5e93\u5230\u672c\u5730\uff1a<\/p>\n<pre>git clone \ngit clone <\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/li>\n<li>\n<p>\u521b\u5efa\u5e76\u5207\u6362\u5230\u4e3b\u4ed3\u5e93\u7684\u5f00\u53d1\u5206\u652f\uff1a<\/p>\n<pre>cd \ngit checkout -b feature\/main-development<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/li>\n<li>\n<p>\u5728\u4e3b\u4ed3\u5e93\u5f00\u53d1\u5206\u652f\u4e0a\u8fdb\u884c\u5f00\u53d1\uff0c\u5e76\u5b9a\u671f\u63d0\u4ea4\u4ee3\u7801\uff1a<\/p>\n<pre># ... \u8fdb\u884c\u5f00\u53d1\u5de5\u4f5c ...\ngit add .\ngit commit -m \"\u5b8c\u6210\u4e3b\u4ed3\u5e93\u529f\u80fd\u5f00\u53d1\"\ngit push origin feature\/main-development<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/li>\n<li>\n<p>\u5207\u6362\u5230\u5b50\u4ed3\u5e931\u7684\u5f00\u53d1\u5206\u652f\uff0c\u5e76\u4ece\u4e3b\u4ed3\u5e93\u7684\u5f00\u53d1\u5206\u652f\u5408\u5e76\u4ee3\u7801\uff1a<\/p>\n<pre>cd \ngit checkout -b feature\/plugin1-development\ngit merge origin\/feature\/main-development\ngit push origin feature\/plugin1-development<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/li>\n<li>\n<p>\u5207\u6362\u5230\u5b50\u4ed3\u5e932\u7684\u5f00\u53d1\u5206\u652f\uff0c\u5e76\u4ece\u4e3b\u4ed3\u5e93\u7684\u5f00\u53d1\u5206\u652f\u5408\u5e76\u4ee3\u7801\uff1a<\/p>\n<pre>cd \ngit checkout -b feature\/plugin2-development\ngit merge origin\/feature\/main-development\ngit push origin feature\/plugin2-development<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/li>\n<li>\u5728GitLab\u4e0a\u521b\u5efa\u5408\u5e76\u8bf7\u6c42\uff08Merge Request\uff09\u4ee5\u5c06\u5b50\u4ed3\u5e93\u7684\u5f00\u53d1\u5206\u652f\u5408\u5e76\u5230\u4e3b\u4ed3\u5e93\u7684\u5f00\u53d1\u5206\u652f\uff0c\u8fdb\u884c\u4ee3\u7801\u5ba1\u67e5\u548c\u5408\u5e76\u64cd\u4f5c\u3002<\/li>\n<li>\n<p>\u5b9a\u671f\u66f4\u65b0\u4ed3\u5e93\u7684\u6700\u65b0\u4ee3\u7801\uff1a<\/p>\n<pre>cd \ngit pull origin feature\/main-development\n\ncd \ngit pull origin feature\/main-development<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/li>\n<\/ol>\n<p>\u3010\u603b\u7ed3\u3011<br \/>\u901a\u8fc7GitLab\u7684\u591a\u4ed3\u5e93\u534f\u540c\u5de5\u4f5c\u6d41\u7a0b\uff0c\u6211\u4eec\u53ef\u4ee5\u65b9\u4fbf\u5730\u7ba1\u7406\u548c\u534f\u8c03\u591a\u4e2a\u4ee3\u7801\u4ed3\u5e93\u7684\u5f00\u53d1\u5de5\u4f5c\u3002\u65e0\u8bba\u662f\u5f00\u53d1\u4e3b\u4ed3\u5e93\u8fd8\u662f\u7ef4\u62a4\u5b50\u4ed3\u5e93\uff0c\u90fd\u53ef\u4ee5\u901a\u8fc7GitLab\u63d0\u4f9b\u7684\u5f3a\u5927\u529f\u80fd\u6765\u5b9e\u73b0\u9ad8\u6548\u7684\u4ee3\u7801\u534f\u4f5c\u3002\u5e0c\u671b\u672c\u6587\u7684\u4ecb\u7ecd\u548c\u793a\u4f8b\u53ef\u4ee5\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u7406\u89e3\u548c\u5e94\u7528GitLab\u7684\u591a\u4ed3\u5e93\u534f\u540c\u5de5\u4f5c\u6d41\u7a0b\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fGitLab\u7684\u591a\u4ed3\u5e93\u534f\u540c\u5de5\u4f5c\u6d41\u7a0b\u53ca\u5b9e\u8df5\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GitLab\u7684\u591a\u4ed3\u5e93\u534f\u540c\u5de5\u4f5c\u6d41\u7a0b\u53ca\u5b9e\u8df5 \u3010\u5f15\u8a00\u3011\u5728\u8f6f\u4ef6\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u7279\u522b\u662f\u5728\u5927\u578b\u9879\u76ee\u4e2d\uff0c\u901a\u5e38\u9700\u8981\u540c\u65f6\u7ef4\u62a4\u591a\u4e2a\u4ee3\u7801\u4ed3\u5e93\u3002GitLab\u4f5c\u4e3a\u4e00\u4e2a\u5f3a\u5927\u7684\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff0c\u63d0\u4f9b\u4e86\u5404\u79cd\u529f\u80fd\u6765\u652f\u6301\u591a\u4ed3\u5e93\u7684\u534f\u540c\u5de5\u4f5c\u3002\u672c\u6587\u5c06\u4ecb\u7ecdGitLab\u7684\u591a\u4ed3\u5e93\u534f\u540c\u5de5\u4f5c\u6d41\u7a0b\u53ca\u5b9e\u8df5\uff0c\u5e76\u63d0\u4f9b\u5177\u4f53\u7684\u4ee3\u7801\u793a\u4f8b\u3002 \u3010\u591a\u4ed3\u5e93\u534f\u540c\u5de5\u4f5c\u6d41\u7a0b\u3011 \u521b\u5efa\u4e3b\u4ed3\u5e93\uff1a\u9996\u5148\u521b\u5efa\u4e00\u4e2a\u4e3b\u4ed3\u5e93\uff0c\u8be5\u4ed3\u5e93\u7528\u4e8e\u7ba1\u7406\u9879\u76ee\u7684\u4e3b\u8981\u4ee3\u7801\u3002\u6211\u4eec\u53ef\u4ee5\u5728GitLab\u4e0a\u521b\u5efa\u4e00\u4e2a\u65b0\u9879\u76ee\uff0c\u5e76\u5c06\u8be5\u9879\u76ee\u514b\u9686\u5230\u672c\u5730\u3002\u793a\u4f8b\u4ee3\u7801\uff1a git clone \u767b\u5f55\u540e\u590d\u5236 \u767b\u5f55\u540e\u590d\u5236 \u767b\u5f55\u540e\u590d\u5236 \u521b\u5efa\u5b50\u4ed3\u5e93\uff1a\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u6216\u591a\u4e2a\u5b50\u4ed3\u5e93\uff0c\u7528\u4e8e\u7ba1\u7406\u4e0d\u540c\u7684\u6a21\u5757\u6216\u529f\u80fd\u3002\u6bcf\u4e2a\u5b50\u4ed3\u5e93\u90fd\u53ef\u4ee5\u5355\u72ec\u8fdb\u884c\u5f00\u53d1\uff0c\u5e76\u5728\u9700\u8981\u65f6\u4e0e\u4e3b\u4ed3\u5e93\u8fdb\u884c\u96c6\u6210\u3002\u793a\u4f8b\u4ee3\u7801\uff1a git clone \u767b\u5f55\u540e\u590d\u5236 \u767b\u5f55\u540e\u590d\u5236 \u767b\u5f55\u540e\u590d\u5236 \u521b\u5efa\u5206\u652f\uff1a\u5728\u4e3b\u4ed3\u5e93\u548c\u5b50\u4ed3\u5e93\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u6839\u636e\u9700\u8981\u521b\u5efa\u591a\u4e2a\u5206\u652f\uff0c\u7528\u4e8e\u4e0d\u540c\u7684\u5f00\u53d1\u4efb\u52a1\u6216\u7248\u672c\u8fed\u4ee3\u3002\u6bcf\u4e2a\u5206\u652f\u53ef\u4ee5\u72ec\u7acb\u8fdb\u884c\u5f00\u53d1\uff0c\u5e76\u5728\u5b8c\u6210\u540e\u8fdb\u884c\u5408\u5e76\u3002\u793a\u4f8b\u4ee3\u7801\uff1a git checkout -b \u767b\u5f55\u540e\u590d\u5236 \u5f00\u53d1\u548c\u63d0\u4ea4\uff1a\u5728\u5404\u4e2a\u4ed3\u5e93\u7684\u5bf9\u5e94\u5206\u652f\u4e0a\u8fdb\u884c\u5f00\u53d1\u5de5\u4f5c\uff0c\u5e76\u5b9a\u671f\u63d0\u4ea4\u4ee3\u7801\u5230\u8fdc\u7a0b\u4ed3\u5e93\u3002\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u4f7f\u7528\u5e38\u89c4\u7684Git\u547d\u4ee4\u8fdb\u884c\u4ee3\u7801\u63d0\u4ea4\uff0c\u5982add\u3001commit\u548cpush\u3002\u793a\u4f8b\u4ee3\u7801\uff1a git add . git commit -m &#8220;\u63d0\u4ea4\u8bf4\u660e&#8221; git push origin \u767b\u5f55\u540e\u590d\u5236 \u5408\u5e76\u5206\u652f\uff1a\u5f53\u4e00\u4e2a\u5206\u652f\u7684\u5f00\u53d1\u5de5\u4f5c\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u5c06\u5176\u5408\u5e76\u5230\u5176\u4ed6\u5206\u652f\u6216\u4e3b\u4ed3\u5e93\u4e2d\u3002\u5728GitLab\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5408\u5e76\u8bf7\u6c42\uff08Merge Request\uff09\u6765\u5bf9\u4ee3\u7801\u8fdb\u884c\u5ba1\u6838\u548c\u5408\u5e76\u3002\u793a\u4f8b\u4ee3\u7801\uff08\u5408\u5e76\u5206\u652f\u5230\u4e3b\u4ed3\u5e93\uff09\uff1a git checkout git merge git push origin \u767b\u5f55\u540e\u590d\u5236 \u89e3\u51b3\u51b2\u7a81\uff1a\u5728\u5408\u5e76\u5206\u652f\u65f6\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u4ee3\u7801\u51b2\u7a81\u7684\u60c5\u51b5\u3002\u51b2\u7a81\u901a\u5e38\u53d1\u751f\u5728\u591a\u4e2a\u5206\u652f\u5bf9\u540c\u4e00\u4ee3\u7801\u8fdb\u884c\u4e86\u4fee\u6539\u540e\u8fdb\u884c\u5408\u5e76\u65f6\u3002\u5728GitLab\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5408\u5e76\u8bf7\u6c42\u9875\u9762\u7684\u51b2\u7a81\u89e3\u51b3\u5de5\u5177\u6765\u89e3\u51b3\u51b2\u7a81\u3002\u793a\u4f8b\u4ee3\u7801\uff08\u89e3\u51b3\u51b2\u7a81\uff09\uff1a git checkout git merge # \u89e3\u51b3\u51b2\u7a81\u540e\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4 git add . git commit -m [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-20393","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=20393"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20393\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}