{"id":19477,"date":"2024-11-19T09:36:45","date_gmt":"2024-11-19T01:36:45","guid":{"rendered":"https:\/\/fwq.ai\/blog\/19477\/"},"modified":"2024-11-19T09:36:45","modified_gmt":"2024-11-19T01:36:45","slug":"gitlab%e6%80%8e%e4%b9%88%e4%bf%ae%e6%94%b9%e7%b3%bb%e7%bb%9f%e5%90%8d%e5%ad%97","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/19477\/","title":{"rendered":"gitlab\u600e\u4e48\u4fee\u6539\u7cfb\u7edf\u540d\u5b57"},"content":{"rendered":"<p>gitlab\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff0c\u5b83\u652f\u6301\u6240\u6709\u5e38\u89c1\u7684 git \u64cd\u4f5c\uff0c\u4f8b\u5982 push\u3001pull \u548c commit \u7b49\u3002gitlab\u7684\u4f7f\u7528\u975e\u5e38\u65b9\u4fbf\uff0c\u53ef\u4ee5\u8f7b\u677e\u5b9e\u73b0\u56e2\u961f\u534f\u4f5c\u5f00\u53d1\u3001\u4ee3\u7801\u7ba1\u7406\u548c\u7248\u672c\u63a7\u5236\u7b49\u529f\u80fd\u3002\u5728gitlab\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4fee\u6539\u7cfb\u7edf\u540d\u5b57\u6765\u65b9\u4fbf\u8bc6\u522b\u548c\u7ba1\u7406\u4ee3\u7801\u5e93\u3002\u4e0b\u9762\u5c31\u4ecb\u7ecd\u4e00\u4e0b\u5982\u4f55\u5728gitlab\u4e2d\u4fee\u6539\u7cfb\u7edf\u540d\u5b57\u3002<\/p>\n<ol>\n<li>\u767b\u5f55GitLab<\/li>\n<\/ol>\n<p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u767b\u5f55GitLab\u8d26\u6237\u3002\u5982\u679c\u4f60\u8fd8\u6ca1\u6709GitLab\u8d26\u6237\uff0c\u53ef\u4ee5\u5148\u6ce8\u518c\u4e00\u4e2a\u3002<\/p>\n<ol>\n<li>\u8fdb\u5165\u7cfb\u7edf\u8bbe\u7f6e<\/li>\n<\/ol>\n<p>\u767b\u5f55\u6210\u529f\u540e\uff0c\u6211\u4eec\u9700\u8981\u8fdb\u5165\u7cfb\u7edf\u8bbe\u7f6e\u3002\u5728\u9875\u9762\u53f3\u4e0a\u89d2\uff0c\u70b9\u51fb\u81ea\u5df1\u7684\u5934\u50cf\uff0c\u7136\u540e\u9009\u62e9\u201cSettings\u201d\u3002<\/p>\n<ol>\n<li>\u4fee\u6539\u7cfb\u7edf\u540d\u5b57<\/li>\n<\/ol>\n<p>\u5728\u7cfb\u7edf\u8bbe\u7f6e\u9875\u9762\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u201cGeneral\u201d\u3001\u201cIntegration\u201d\u7b49\u591a\u4e2a\u9009\u9879\u5361\u3002\u627e\u5230\u201cGeneral\u201d\u9009\u9879\u5361\uff0c\u7136\u540e\u70b9\u51fb\u5b83\u3002\u5728\u201cGeneral\u201d\u9009\u9879\u5361\u4e0b\uff0c\u53ef\u4ee5\u770b\u5230\u201cName\u201d\uff08\u540d\u79f0\uff09\u548c\u201cSlug\u201d\uff08\u7b80\u79f0\uff09\u4e24\u4e2a\u9009\u9879\u3002\u6211\u4eec\u9700\u8981\u4fee\u6539\u540d\u79f0\uff0c\u5c31\u627e\u5230\u201cName\u201d\u9009\u9879\u3002<\/p>\n<p>\u5728\u201cName\u201d\u9009\u9879\u4e0b\uff0c\u53ef\u4ee5\u770b\u5230\u5f53\u524d\u7cfb\u7edf\u7684\u540d\u79f0\u3002\u70b9\u51fb\u201cedit\u201d\u6309\u94ae\uff0c\u5c31\u53ef\u4ee5\u8fdb\u884c\u4fee\u6539\u4e86\u3002\u5728\u8f93\u5165\u6846\u4e2d\u8f93\u5165\u65b0\u7684\u540d\u79f0\uff0c\u7136\u540e\u70b9\u51fb\u201cSave changes\u201d\uff08\u4fdd\u5b58\u66f4\u6539\uff09\uff0c\u5c31\u53ef\u4ee5\u5b8c\u6210\u4fee\u6539\u4e86\u3002<\/p>\n<ol>\n<li>\u786e\u8ba4\u4fee\u6539<\/li>\n<\/ol>\n<p>\u4fee\u6539\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u9700\u8981\u786e\u8ba4\u662f\u5426\u4fee\u6539\u6210\u529f\u3002\u53ef\u4ee5\u8fd4\u56de\u4e3b\u9875\uff0c\u67e5\u770b\u7cfb\u7edf\u540d\u79f0\u662f\u5426\u5df2\u7ecf\u66f4\u65b0\u3002\u5982\u679c\u7cfb\u7edf\u540d\u79f0\u5df2\u7ecf\u66f4\u65b0\uff0c\u90a3\u4e48\u4fee\u6539\u5c31\u5df2\u7ecf\u6210\u529f\u4e86\u3002<\/p>\n<p>\u603b\u7ed3<\/p>\n<p>\u5728GitLab\u4e2d\uff0c\u4fee\u6539\u7cfb\u7edf\u540d\u79f0\u975e\u5e38\u7b80\u5355\u3002\u53ea\u9700\u8981\u767b\u5f55GitLab\u8d26\u6237\uff0c\u627e\u5230\u7cfb\u7edf\u8bbe\u7f6e\uff0c\u8fdb\u5165\u201cGeneral\u201d\u9009\u9879\u5361\uff0c\u7136\u540e\u4fee\u6539\u540d\u79f0\u5373\u53ef\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u4fee\u6539\u540e\u9700\u8981\u786e\u8ba4\u662f\u5426\u4fee\u6539\u6210\u529f\uff0c\u907f\u514d\u51fa\u73b0\u8bef\u64cd\u4f5c\u3002GitLab\u662f\u4e00\u4e2a\u975e\u5e38\u597d\u7528\u7684\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff0c\u503c\u5f97\u5f00\u53d1\u8005\u4eec\u53bb\u5c1d\u8bd5\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fgitlab\u600e\u4e48\u4fee\u6539\u7cfb\u7edf\u540d\u5b57\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\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff0c\u5b83\u652f\u6301\u6240\u6709\u5e38\u89c1\u7684 git \u64cd\u4f5c\uff0c\u4f8b\u5982 push\u3001pull \u548c commit \u7b49\u3002gitlab\u7684\u4f7f\u7528\u975e\u5e38\u65b9\u4fbf\uff0c\u53ef\u4ee5\u8f7b\u677e\u5b9e\u73b0\u56e2\u961f\u534f\u4f5c\u5f00\u53d1\u3001\u4ee3\u7801\u7ba1\u7406\u548c\u7248\u672c\u63a7\u5236\u7b49\u529f\u80fd\u3002\u5728gitlab\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4fee\u6539\u7cfb\u7edf\u540d\u5b57\u6765\u65b9\u4fbf\u8bc6\u522b\u548c\u7ba1\u7406\u4ee3\u7801\u5e93\u3002\u4e0b\u9762\u5c31\u4ecb\u7ecd\u4e00\u4e0b\u5982\u4f55\u5728gitlab\u4e2d\u4fee\u6539\u7cfb\u7edf\u540d\u5b57\u3002 \u767b\u5f55GitLab \u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u767b\u5f55GitLab\u8d26\u6237\u3002\u5982\u679c\u4f60\u8fd8\u6ca1\u6709GitLab\u8d26\u6237\uff0c\u53ef\u4ee5\u5148\u6ce8\u518c\u4e00\u4e2a\u3002 \u8fdb\u5165\u7cfb\u7edf\u8bbe\u7f6e \u767b\u5f55\u6210\u529f\u540e\uff0c\u6211\u4eec\u9700\u8981\u8fdb\u5165\u7cfb\u7edf\u8bbe\u7f6e\u3002\u5728\u9875\u9762\u53f3\u4e0a\u89d2\uff0c\u70b9\u51fb\u81ea\u5df1\u7684\u5934\u50cf\uff0c\u7136\u540e\u9009\u62e9\u201cSettings\u201d\u3002 \u4fee\u6539\u7cfb\u7edf\u540d\u5b57 \u5728\u7cfb\u7edf\u8bbe\u7f6e\u9875\u9762\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u201cGeneral\u201d\u3001\u201cIntegration\u201d\u7b49\u591a\u4e2a\u9009\u9879\u5361\u3002\u627e\u5230\u201cGeneral\u201d\u9009\u9879\u5361\uff0c\u7136\u540e\u70b9\u51fb\u5b83\u3002\u5728\u201cGeneral\u201d\u9009\u9879\u5361\u4e0b\uff0c\u53ef\u4ee5\u770b\u5230\u201cName\u201d\uff08\u540d\u79f0\uff09\u548c\u201cSlug\u201d\uff08\u7b80\u79f0\uff09\u4e24\u4e2a\u9009\u9879\u3002\u6211\u4eec\u9700\u8981\u4fee\u6539\u540d\u79f0\uff0c\u5c31\u627e\u5230\u201cName\u201d\u9009\u9879\u3002 \u5728\u201cName\u201d\u9009\u9879\u4e0b\uff0c\u53ef\u4ee5\u770b\u5230\u5f53\u524d\u7cfb\u7edf\u7684\u540d\u79f0\u3002\u70b9\u51fb\u201cedit\u201d\u6309\u94ae\uff0c\u5c31\u53ef\u4ee5\u8fdb\u884c\u4fee\u6539\u4e86\u3002\u5728\u8f93\u5165\u6846\u4e2d\u8f93\u5165\u65b0\u7684\u540d\u79f0\uff0c\u7136\u540e\u70b9\u51fb\u201cSave changes\u201d\uff08\u4fdd\u5b58\u66f4\u6539\uff09\uff0c\u5c31\u53ef\u4ee5\u5b8c\u6210\u4fee\u6539\u4e86\u3002 \u786e\u8ba4\u4fee\u6539 \u4fee\u6539\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u9700\u8981\u786e\u8ba4\u662f\u5426\u4fee\u6539\u6210\u529f\u3002\u53ef\u4ee5\u8fd4\u56de\u4e3b\u9875\uff0c\u67e5\u770b\u7cfb\u7edf\u540d\u79f0\u662f\u5426\u5df2\u7ecf\u66f4\u65b0\u3002\u5982\u679c\u7cfb\u7edf\u540d\u79f0\u5df2\u7ecf\u66f4\u65b0\uff0c\u90a3\u4e48\u4fee\u6539\u5c31\u5df2\u7ecf\u6210\u529f\u4e86\u3002 \u603b\u7ed3 \u5728GitLab\u4e2d\uff0c\u4fee\u6539\u7cfb\u7edf\u540d\u79f0\u975e\u5e38\u7b80\u5355\u3002\u53ea\u9700\u8981\u767b\u5f55GitLab\u8d26\u6237\uff0c\u627e\u5230\u7cfb\u7edf\u8bbe\u7f6e\uff0c\u8fdb\u5165\u201cGeneral\u201d\u9009\u9879\u5361\uff0c\u7136\u540e\u4fee\u6539\u540d\u79f0\u5373\u53ef\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u4fee\u6539\u540e\u9700\u8981\u786e\u8ba4\u662f\u5426\u4fee\u6539\u6210\u529f\uff0c\u907f\u514d\u51fa\u73b0\u8bef\u64cd\u4f5c\u3002GitLab\u662f\u4e00\u4e2a\u975e\u5e38\u597d\u7528\u7684\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff0c\u503c\u5f97\u5f00\u53d1\u8005\u4eec\u53bb\u5c1d\u8bd5\u3002 \u4ee5\u4e0a\u5c31\u662fgitlab\u600e\u4e48\u4fee\u6539\u7cfb\u7edf\u540d\u5b57\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/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-19477","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/19477","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=19477"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/19477\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=19477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=19477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=19477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}