{"id":20179,"date":"2024-11-19T10:53:27","date_gmt":"2024-11-19T02:53:27","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20179\/"},"modified":"2024-11-19T10:53:27","modified_gmt":"2024-11-19T02:53:27","slug":"gitlab%e5%92%8cgithub%e6%98%af%e4%b8%80%e4%b8%aa%e8%b4%a6%e5%8f%b7%e5%90%97","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20179\/","title":{"rendered":"gitlab\u548cgithub\u662f\u4e00\u4e2a\u8d26\u53f7\u5417"},"content":{"rendered":"<p>gitlab\u548cgithub\u662f\u4e24\u4e2a\u4e0d\u540c\u7684\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff0c\u5b83\u4eec\u5e76\u4e0d\u662f\u4e00\u4e2a\u8d26\u53f7\u3002<\/p>\n<p>GitLab\u548cGitHub\u662f\u4e24\u4e2a\u975e\u5e38\u6d41\u884c\u7684\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff0c\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u4e00\u4e2a\u65b9\u4fbf\u3001\u5b89\u5168\u3001\u9ad8\u6548\u7684\u534f\u4f5c\u5f00\u53d1\u73af\u5883\u3002\u867d\u7136\u8fd9\u4e24\u4e2a\u5e73\u53f0\u63d0\u4f9b\u7c7b\u4f3c\u7684\u670d\u52a1\uff0c\u4f46\u5b83\u4eec\u6709\u4e00\u4e9b\u533a\u522b\uff0c\u5982\u4e0b\u6240\u8ff0\u3002<\/p>\n<p>GitLab\u662f\u4e00\u4e2a\u4f01\u4e1a\u7ea7\u7684\u81ea\u6258\u7ba1Git\u5e73\u53f0\uff0c\u5b83\u63d0\u4f9b\u4e86\u6e90\u4ee3\u7801\u7ba1\u7406\u3001\u95ee\u9898\u8ddf\u8e2a\u3001CI\/CD\u7b49\u4e00\u7cfb\u5217\u5b8c\u6574\u7684\u5f00\u53d1\u5468\u671f\u7ba1\u7406\u529f\u80fd\u3002\u7528\u6237\u53ef\u4ee5\u5728\u81ea\u5df1\u7684\u670d\u52a1\u5668\u4e0a\u5b89\u88c5GitLab\uff0c\u4e5f\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528GitLab\u63d0\u4f9b\u7684SaaS\u7248\u672c\u3002GitLab\u4e0d\u4f46\u652f\u6301Git\uff0c\u8fd8\u652f\u6301Mercurial\u548cSubversion\u7b49\u7248\u672c\u63a7\u5236\u7cfb\u7edf\u3002\u7528\u6237\u53ef\u4ee5\u521b\u5efa\u79c1\u6709\u4ed3\u5e93\uff0c\u901a\u8fc7\u9080\u8bf7\u7528\u6237\u8fdb\u884c\u534f\u4f5c\u5f00\u53d1\uff0c\u5728\u4ed3\u5e93\u5185\u8fdb\u884c\u7248\u672c\u63a7\u5236\u3001\u6587\u6863\u7ba1\u7406\u3001\u4ee3\u7801\u5ba1\u67e5\u3001\u6d4b\u8bd5\u7b49\u64cd\u4f5c\u3002<\/p>\n<p>GitHub\u662f\u4e00\u4e2a\u4e91\u7aef\u7684Git\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff0c\u5b83\u63d0\u4f9b\u4e86\u5f00\u6e90\u4ee3\u7801\u6258\u7ba1\u3001\u95ee\u9898\u8ddf\u8e2a\u3001\u534f\u4f5c\u5f00\u53d1\u7b49\u529f\u80fd\u3002GitHub\u662f\u5168\u7403\u6700\u5927\u7684\u5f00\u6e90\u793e\u533a\u4e4b\u4e00\uff0c\u5b83\u6709\u8bb8\u591a\u4f18\u79c0\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u800c\u8fd9\u4e9b\u9879\u76ee\u90fd\u53ef\u4ee5\u4f9b\u5176\u4ed6\u5f00\u53d1\u8005\u514d\u8d39\u4f7f\u7528\u548c\u53c2\u4e0e\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u514d\u8d39\u8d26\u53f7\u521b\u5efa\u516c\u5171\u4ed3\u5e93\uff0c\u4e5f\u53ef\u4ee5\u8d2d\u4e70\u4f01\u4e1a\u7248\u8d26\u53f7\u521b\u5efa\u79c1\u6709\u4ed3\u5e93\uff0c\u901a\u8fc7Git\u8fdb\u884c\u7248\u672c\u63a7\u5236\u3001Pull Request\u8fdb\u884c\u4ee3\u7801\u5ba1\u67e5\u3001Issue\u8fdb\u884c\u9700\u6c42\u6536\u96c6\u3001Actions\u8fdb\u884cCI\/CD\u7b49\u64cd\u4f5c\u3002<\/p>\n<p>\u867d\u7136GitLab\u548cGitHub\u6709\u4e00\u4e9b\u76f8\u4f3c\u7684\u529f\u80fd\uff0c\u4f46\u5b83\u4eec\u7684\u4f7f\u7528\u65b9\u5f0f\u548c\u64cd\u4f5c\u6d41\u7a0b\u6709\u5f88\u5927\u4e0d\u540c\u3002\u56e0\u6b64\uff0cGitLab\u548cGitHub\u5e76\u4e0d\u662f\u4e00\u4e2a\u8d26\u53f7\uff0c\u7528\u6237\u9700\u8981\u6ce8\u518c\u4e0d\u540c\u7684\u8d26\u53f7\u624d\u80fd\u4f7f\u7528\u5b83\u4eec\u63d0\u4f9b\u7684\u670d\u52a1\u3002<\/p>\n<p>\u4e3a\u4e86\u66f4\u597d\u5730\u7ba1\u7406\u4ee3\u7801\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u540c\u65f6\u4f7f\u7528GitLab\u548cGitHub\u3002\u4f8b\u5982\uff0c\u5728GitLab\u4e0a\u7ba1\u7406\u79c1\u6709\u4ed3\u5e93\uff0cGitHub\u4e0a\u7ba1\u7406\u5f00\u6e90\u9879\u76ee\uff0c\u8fd9\u6837\u80fd\u591f\u66f4\u597d\u5730\u534f\u4f5c\u5f00\u53d1\u548c\u4fdd\u62a4\u79c1\u6709\u4ee3\u7801\u7684\u5b89\u5168\u6027\u3002<\/p>\n<p>\u603b\u4e4b\uff0cGitLab\u548cGitHub\u662f\u4e24\u4e2a\u4e0d\u540c\u7684\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff0c\u7528\u6237\u9700\u8981\u6839\u636e\u9700\u8981\u9009\u62e9\u5408\u9002\u7684\u5e73\u53f0\uff0c\u5e76\u6ce8\u518c\u4e0d\u540c\u7684\u8d26\u53f7\u624d\u80fd\u4f7f\u7528\u5b83\u4eec\u63d0\u4f9b\u7684\u670d\u52a1\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fgitlab\u548cgithub\u662f\u4e00\u4e2a\u8d26\u53f7\u5417\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\u548cgithub\u662f\u4e24\u4e2a\u4e0d\u540c\u7684\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff0c\u5b83\u4eec\u5e76\u4e0d\u662f\u4e00\u4e2a\u8d26\u53f7\u3002 GitLab\u548cGitHub\u662f\u4e24\u4e2a\u975e\u5e38\u6d41\u884c\u7684\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff0c\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u4e00\u4e2a\u65b9\u4fbf\u3001\u5b89\u5168\u3001\u9ad8\u6548\u7684\u534f\u4f5c\u5f00\u53d1\u73af\u5883\u3002\u867d\u7136\u8fd9\u4e24\u4e2a\u5e73\u53f0\u63d0\u4f9b\u7c7b\u4f3c\u7684\u670d\u52a1\uff0c\u4f46\u5b83\u4eec\u6709\u4e00\u4e9b\u533a\u522b\uff0c\u5982\u4e0b\u6240\u8ff0\u3002 GitLab\u662f\u4e00\u4e2a\u4f01\u4e1a\u7ea7\u7684\u81ea\u6258\u7ba1Git\u5e73\u53f0\uff0c\u5b83\u63d0\u4f9b\u4e86\u6e90\u4ee3\u7801\u7ba1\u7406\u3001\u95ee\u9898\u8ddf\u8e2a\u3001CI\/CD\u7b49\u4e00\u7cfb\u5217\u5b8c\u6574\u7684\u5f00\u53d1\u5468\u671f\u7ba1\u7406\u529f\u80fd\u3002\u7528\u6237\u53ef\u4ee5\u5728\u81ea\u5df1\u7684\u670d\u52a1\u5668\u4e0a\u5b89\u88c5GitLab\uff0c\u4e5f\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528GitLab\u63d0\u4f9b\u7684SaaS\u7248\u672c\u3002GitLab\u4e0d\u4f46\u652f\u6301Git\uff0c\u8fd8\u652f\u6301Mercurial\u548cSubversion\u7b49\u7248\u672c\u63a7\u5236\u7cfb\u7edf\u3002\u7528\u6237\u53ef\u4ee5\u521b\u5efa\u79c1\u6709\u4ed3\u5e93\uff0c\u901a\u8fc7\u9080\u8bf7\u7528\u6237\u8fdb\u884c\u534f\u4f5c\u5f00\u53d1\uff0c\u5728\u4ed3\u5e93\u5185\u8fdb\u884c\u7248\u672c\u63a7\u5236\u3001\u6587\u6863\u7ba1\u7406\u3001\u4ee3\u7801\u5ba1\u67e5\u3001\u6d4b\u8bd5\u7b49\u64cd\u4f5c\u3002 GitHub\u662f\u4e00\u4e2a\u4e91\u7aef\u7684Git\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff0c\u5b83\u63d0\u4f9b\u4e86\u5f00\u6e90\u4ee3\u7801\u6258\u7ba1\u3001\u95ee\u9898\u8ddf\u8e2a\u3001\u534f\u4f5c\u5f00\u53d1\u7b49\u529f\u80fd\u3002GitHub\u662f\u5168\u7403\u6700\u5927\u7684\u5f00\u6e90\u793e\u533a\u4e4b\u4e00\uff0c\u5b83\u6709\u8bb8\u591a\u4f18\u79c0\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u800c\u8fd9\u4e9b\u9879\u76ee\u90fd\u53ef\u4ee5\u4f9b\u5176\u4ed6\u5f00\u53d1\u8005\u514d\u8d39\u4f7f\u7528\u548c\u53c2\u4e0e\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u514d\u8d39\u8d26\u53f7\u521b\u5efa\u516c\u5171\u4ed3\u5e93\uff0c\u4e5f\u53ef\u4ee5\u8d2d\u4e70\u4f01\u4e1a\u7248\u8d26\u53f7\u521b\u5efa\u79c1\u6709\u4ed3\u5e93\uff0c\u901a\u8fc7Git\u8fdb\u884c\u7248\u672c\u63a7\u5236\u3001Pull Request\u8fdb\u884c\u4ee3\u7801\u5ba1\u67e5\u3001Issue\u8fdb\u884c\u9700\u6c42\u6536\u96c6\u3001Actions\u8fdb\u884cCI\/CD\u7b49\u64cd\u4f5c\u3002 \u867d\u7136GitLab\u548cGitHub\u6709\u4e00\u4e9b\u76f8\u4f3c\u7684\u529f\u80fd\uff0c\u4f46\u5b83\u4eec\u7684\u4f7f\u7528\u65b9\u5f0f\u548c\u64cd\u4f5c\u6d41\u7a0b\u6709\u5f88\u5927\u4e0d\u540c\u3002\u56e0\u6b64\uff0cGitLab\u548cGitHub\u5e76\u4e0d\u662f\u4e00\u4e2a\u8d26\u53f7\uff0c\u7528\u6237\u9700\u8981\u6ce8\u518c\u4e0d\u540c\u7684\u8d26\u53f7\u624d\u80fd\u4f7f\u7528\u5b83\u4eec\u63d0\u4f9b\u7684\u670d\u52a1\u3002 \u4e3a\u4e86\u66f4\u597d\u5730\u7ba1\u7406\u4ee3\u7801\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u540c\u65f6\u4f7f\u7528GitLab\u548cGitHub\u3002\u4f8b\u5982\uff0c\u5728GitLab\u4e0a\u7ba1\u7406\u79c1\u6709\u4ed3\u5e93\uff0cGitHub\u4e0a\u7ba1\u7406\u5f00\u6e90\u9879\u76ee\uff0c\u8fd9\u6837\u80fd\u591f\u66f4\u597d\u5730\u534f\u4f5c\u5f00\u53d1\u548c\u4fdd\u62a4\u79c1\u6709\u4ee3\u7801\u7684\u5b89\u5168\u6027\u3002 \u603b\u4e4b\uff0cGitLab\u548cGitHub\u662f\u4e24\u4e2a\u4e0d\u540c\u7684\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\uff0c\u7528\u6237\u9700\u8981\u6839\u636e\u9700\u8981\u9009\u62e9\u5408\u9002\u7684\u5e73\u53f0\uff0c\u5e76\u6ce8\u518c\u4e0d\u540c\u7684\u8d26\u53f7\u624d\u80fd\u4f7f\u7528\u5b83\u4eec\u63d0\u4f9b\u7684\u670d\u52a1\u3002 \u4ee5\u4e0a\u5c31\u662fgitlab\u548cgithub\u662f\u4e00\u4e2a\u8d26\u53f7\u5417\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-20179","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20179","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=20179"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20179\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}