{"id":20189,"date":"2024-11-19T11:27:15","date_gmt":"2024-11-19T03:27:15","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20189\/"},"modified":"2024-11-19T11:27:15","modified_gmt":"2024-11-19T03:27:15","slug":"gitlab%e7%82%b9mark%e4%b8%ba%e4%bb%80%e4%b9%88%e5%88%b7%e6%96%b0%e9%a1%b5%e9%9d%a2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20189\/","title":{"rendered":"Gitlab\u70b9mark\u4e3a\u4ec0\u4e48\u5237\u65b0\u9875\u9762"},"content":{"rendered":"<p>\u5728\u4f7f\u7528gitlab\u8fdb\u884c\u4ee3\u7801\u7ba1\u7406\u548c\u7248\u672c\u63a7\u5236\u7684\u8fc7\u7a0b\u4e2d\uff0c\u4f60\u53ef\u80fd\u4f1a\u53d1\u73b0\u4e00\u4e2a\u6bd4\u8f83\u5947\u602a\u7684\u73b0\u8c61\uff0c\u90a3\u5c31\u662f\u5f53\u4f60\u5728gitlab\u4e0a\u5bf9\u4e00\u4e2aissue\u6216merge request\u8fdb\u884c\u4e86\u6807\u8bb0\uff08\u5373\u6253\u4e86mark\uff09\u4e4b\u540e\uff0c\u9875\u9762\u4f1a\u81ea\u52a8\u5237\u65b0\u4e00\u6b21\u3002\u8fd9\u4e00\u73b0\u8c61\u53ef\u80fd\u5728\u4e00\u4e9b\u60c5\u51b5\u4e0b\u4f1a\u8ba9\u7528\u6237\u611f\u5230\u56f0\u60d1\uff0c\u4e3a\u4ec0\u4e48\u6807\u8bb0\u9700\u8981\u5237\u65b0\u9875\u9762\u5462\uff1f\u4eca\u5929\uff0c\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u4f1a\u63a2\u8ba8\u8fd9\u4e00\u95ee\u9898\u7684\u539f\u56e0\u4ee5\u53ca\u53ef\u80fd\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<p>\u9996\u5148\uff0c\u9700\u8981\u660e\u786e\u7684\u662f\uff0c\u5728Gitlab\u4e0a\u6807\u8bb0issue\u6216merge request\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u64cd\u4f5c\uff0c\u4e5f\u662fGitlab\u56e2\u961f\u534f\u4f5c\u4e2d\u7684\u4e00\u79cd\u91cd\u8981\u65b9\u5f0f\u3002\u901a\u8fc7\u6807\u8bb0\uff0c\u56e2\u961f\u6210\u5458\u53ef\u4ee5\u5bf9\u95ee\u9898\u6216\u9700\u6c42\u8fdb\u884c\u5206\u7c7b\u3001\u4f18\u5148\u7ea7\u6392\u5e8f\u6216\u6807\u8bb0\u72b6\u6001\u7b49\u64cd\u4f5c\u3002\u56e0\u6b64\uff0c\u6807\u8bb0\u529f\u80fd\u5728Gitlab\u4e2d\u626e\u6f14\u7740\u975e\u5e38\u91cd\u8981\u7684\u89d2\u8272\u3002<\/p>\n<p>\u7136\u800c\uff0c\u5bf9\u4e8e\u5237\u65b0\u9875\u9762\u8fd9\u4e00\u5947\u602a\u7684\u73b0\u8c61\uff0c\u5176\u5b9e\u53ef\u4ee5\u5f52\u7ed3\u4e3aGitlab\u524d\u7aef\u6280\u672f\u5b9e\u73b0\u7684\u539f\u7406\u3002\u9996\u5148\uff0c\u9700\u8981\u4e86\u89e3\u7684\u662f\uff0cGitlab\u7684\u6807\u8bb0\u529f\u80fd\u662f\u901a\u8fc7JavaScript\u5b9e\u73b0\u7684\u3002\u5f53\u7528\u6237\u5bf9issue\u6216merge request\u8fdb\u884c\u6807\u8bb0\u64cd\u4f5c\u4e4b\u540e\uff0c\u524d\u7aef\u4ee3\u7801\u4f1a\u901a\u8fc7AJAX\u6280\u672f\u5c06\u6807\u8bb0\u4fe1\u606f\u63d0\u4ea4\u5230\u670d\u52a1\u5668\uff0c\u4ece\u800c\u5b8c\u6210\u5bf9\u6807\u8bb0\u7684\u64cd\u4f5c\u3002<\/p>\n<p>\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u7531\u4e8eGitlab\u7684\u524d\u7aef\u4ee3\u7801\u4f7f\u7528\u4e86\u67d0\u4e9b\u5bfc\u81f4\u9875\u9762\u5237\u65b0\u7684\u6280\u672f\uff0c\u4f8b\u5982\u5728\u67d0\u4e9b\u5143\u7d20\u7684\u72b6\u6001\u6539\u53d8\u65f6\u901a\u8fc7\u4ee3\u7801\u6539\u53d8DOM\u7ed3\u6784\u7b49\u64cd\u4f5c\uff0c\u56e0\u6b64\u5728\u6807\u8bb0\u5b8c\u6210\u540e\uff0c\u9875\u9762\u9700\u8981\u91cd\u65b0\u52a0\u8f7d\u624d\u80fd\u66f4\u65b0\u65b0\u7684\u6807\u8bb0\u72b6\u6001\uff0c\u8fd9\u4e5f\u5c31\u5bfc\u81f4\u4e86\u9875\u9762\u4f1a\u81ea\u52a8\u5237\u65b0\u3002<\/p>\n<p>\u90a3\u4e48\uff0c\u5982\u4f55\u907f\u514d\u8fd9\u4e00\u73b0\u8c61\u5462\uff1f\u4e00\u79cd\u5e38\u89c1\u7684\u65b9\u6cd5\u662f\u901a\u8fc7\u4fee\u6539Gitlab\u524d\u7aef\u4ee3\u7801\uff0c\u53bb\u6389\u9875\u9762\u5237\u65b0\u7684\u90e8\u5206\u3002\u5f53\u7136\uff0c\u7531\u4e8e\u8fd9\u662fGitlab\u7684\u6e90\u4ee3\u7801\uff0c\u4fee\u6539\u8d77\u6765\u76f8\u5bf9\u8f83\u4e3a\u56f0\u96be\uff0c\u9700\u8981\u6709\u4e00\u5b9a\u7684\u5f00\u53d1\u7ecf\u9a8c\u548c\u80fd\u529b\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u4e00\u4e9bGitlab\u63d2\u4ef6\u6216\u6269\u5c55\u4e5f\u63d0\u4f9b\u4e86\u907f\u514d\u8fd9\u4e00\u73b0\u8c61\u7684\u89e3\u51b3\u65b9\u6848\u3002\u5728\u4f7f\u7528\u8fd9\u4e9b\u63d2\u4ef6\u6216\u6269\u5c55\u65f6\uff0c\u7528\u6237\u4e0d\u9700\u8981\u4fee\u6539Gitlab\u7684\u6e90\u4ee3\u7801\uff0c\u53ea\u9700\u8981\u7b80\u5355\u5730\u5b89\u88c5\u548c\u914d\u7f6e\u5373\u53ef\u3002\u4f8b\u5982\uff0c\u6709\u4e9b\u6d4f\u89c8\u5668\u6269\u5c55\u53ef\u4ee5\u7981\u7528Gitlab\u524d\u7aef\u4ee3\u7801\u4e2d\u5bfc\u81f4\u9875\u9762\u5237\u65b0\u7684\u90e8\u5206\uff0c\u4ece\u800c\u907f\u514d\u6807\u8bb0\u65f6\u9875\u9762\u81ea\u52a8\u5237\u65b0\u7684\u73b0\u8c61\u3002<\/p>\n<p>\u6b64\u5916\uff0c\u8003\u8651\u5230Gitlab\u5f00\u6e90\u7684\u7279\u70b9\uff0c\u5982\u679c\u7528\u6237\u5e0c\u671b\u5bf9\u8fd9\u4e00\u95ee\u9898\u8fdb\u884c\u66f4\u6df1\u5165\u7684\u63a2\u8ba8\u548c\u89e3\u51b3\uff0c\u4ed6\u4eec\u8fd8\u53ef\u4ee5\u53c2\u8003Gitlab\u793e\u533a\u4e2d\u5176\u4ed6\u7528\u6237\u7684\u89e3\u51b3\u65b9\u6848\u6216\u63d0\u4ea4\u81ea\u5df1\u7684\u4ee3\u7801\u8d21\u732e\uff0c\u4ece\u800c\u4e3aGitlab\u7684\u53d1\u5c55\u505a\u51fa\u4e00\u4efd\u8d21\u732e\u3002<\/p>\n<p>\u7efc\u4e0a\u6240\u8ff0\uff0c\u5f53\u5728Gitlab\u4e0a\u8fdb\u884c\u6807\u8bb0\u64cd\u4f5c\u65f6\uff0c\u9875\u9762\u4f1a\u81ea\u52a8\u5237\u65b0\u7684\u95ee\u9898\u53ef\u4ee5\u901a\u8fc7\u524d\u7aef\u6280\u672f\u5b9e\u73b0\u7684\u539f\u7406\u6765\u89e3\u91ca\u3002\u4e3a\u4e86\u907f\u514d\u8fd9\u4e00\u73b0\u8c61\uff0c\u7528\u6237\u53ef\u4ee5\u4fee\u6539Gitlab\u7684\u524d\u7aef\u4ee3\u7801\uff0c\u6216\u8005\u4f7f\u7528\u4e00\u4e9b\u63d2\u4ef6\u6216\u6269\u5c55\u6765\u89e3\u51b3\u3002\u5f53\u7136\uff0c\u4e3a\u4e86\u66f4\u597d\u5730\u652f\u6301\u5f00\u6e90\u793e\u533a\u548c\u63d0\u5347\u81ea\u5df1\u7684\u6280\u672f\u80fd\u529b\uff0c\u7528\u6237\u4e5f\u53ef\u4ee5\u79ef\u6781\u53c2\u4e0eGitlab\u793e\u533a\u4e2d\u7684\u8ba8\u8bba\u548c\u4ee3\u7801\u8d21\u732e\u5de5\u4f5c\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fGitlab\u70b9mark\u4e3a\u4ec0\u4e48\u5237\u65b0\u9875\u9762\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>\u5728\u4f7f\u7528gitlab\u8fdb\u884c\u4ee3\u7801\u7ba1\u7406\u548c\u7248\u672c\u63a7\u5236\u7684\u8fc7\u7a0b\u4e2d\uff0c\u4f60\u53ef\u80fd\u4f1a\u53d1\u73b0\u4e00\u4e2a\u6bd4\u8f83\u5947\u602a\u7684\u73b0\u8c61\uff0c\u90a3\u5c31\u662f\u5f53\u4f60\u5728gitlab\u4e0a\u5bf9\u4e00\u4e2aissue\u6216merge request\u8fdb\u884c\u4e86\u6807\u8bb0\uff08\u5373\u6253\u4e86mark\uff09\u4e4b\u540e\uff0c\u9875\u9762\u4f1a\u81ea\u52a8\u5237\u65b0\u4e00\u6b21\u3002\u8fd9\u4e00\u73b0\u8c61\u53ef\u80fd\u5728\u4e00\u4e9b\u60c5\u51b5\u4e0b\u4f1a\u8ba9\u7528\u6237\u611f\u5230\u56f0\u60d1\uff0c\u4e3a\u4ec0\u4e48\u6807\u8bb0\u9700\u8981\u5237\u65b0\u9875\u9762\u5462\uff1f\u4eca\u5929\uff0c\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u4f1a\u63a2\u8ba8\u8fd9\u4e00\u95ee\u9898\u7684\u539f\u56e0\u4ee5\u53ca\u53ef\u80fd\u7684\u89e3\u51b3\u65b9\u6848\u3002 \u9996\u5148\uff0c\u9700\u8981\u660e\u786e\u7684\u662f\uff0c\u5728Gitlab\u4e0a\u6807\u8bb0issue\u6216merge request\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u64cd\u4f5c\uff0c\u4e5f\u662fGitlab\u56e2\u961f\u534f\u4f5c\u4e2d\u7684\u4e00\u79cd\u91cd\u8981\u65b9\u5f0f\u3002\u901a\u8fc7\u6807\u8bb0\uff0c\u56e2\u961f\u6210\u5458\u53ef\u4ee5\u5bf9\u95ee\u9898\u6216\u9700\u6c42\u8fdb\u884c\u5206\u7c7b\u3001\u4f18\u5148\u7ea7\u6392\u5e8f\u6216\u6807\u8bb0\u72b6\u6001\u7b49\u64cd\u4f5c\u3002\u56e0\u6b64\uff0c\u6807\u8bb0\u529f\u80fd\u5728Gitlab\u4e2d\u626e\u6f14\u7740\u975e\u5e38\u91cd\u8981\u7684\u89d2\u8272\u3002 \u7136\u800c\uff0c\u5bf9\u4e8e\u5237\u65b0\u9875\u9762\u8fd9\u4e00\u5947\u602a\u7684\u73b0\u8c61\uff0c\u5176\u5b9e\u53ef\u4ee5\u5f52\u7ed3\u4e3aGitlab\u524d\u7aef\u6280\u672f\u5b9e\u73b0\u7684\u539f\u7406\u3002\u9996\u5148\uff0c\u9700\u8981\u4e86\u89e3\u7684\u662f\uff0cGitlab\u7684\u6807\u8bb0\u529f\u80fd\u662f\u901a\u8fc7JavaScript\u5b9e\u73b0\u7684\u3002\u5f53\u7528\u6237\u5bf9issue\u6216merge request\u8fdb\u884c\u6807\u8bb0\u64cd\u4f5c\u4e4b\u540e\uff0c\u524d\u7aef\u4ee3\u7801\u4f1a\u901a\u8fc7AJAX\u6280\u672f\u5c06\u6807\u8bb0\u4fe1\u606f\u63d0\u4ea4\u5230\u670d\u52a1\u5668\uff0c\u4ece\u800c\u5b8c\u6210\u5bf9\u6807\u8bb0\u7684\u64cd\u4f5c\u3002 \u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u7531\u4e8eGitlab\u7684\u524d\u7aef\u4ee3\u7801\u4f7f\u7528\u4e86\u67d0\u4e9b\u5bfc\u81f4\u9875\u9762\u5237\u65b0\u7684\u6280\u672f\uff0c\u4f8b\u5982\u5728\u67d0\u4e9b\u5143\u7d20\u7684\u72b6\u6001\u6539\u53d8\u65f6\u901a\u8fc7\u4ee3\u7801\u6539\u53d8DOM\u7ed3\u6784\u7b49\u64cd\u4f5c\uff0c\u56e0\u6b64\u5728\u6807\u8bb0\u5b8c\u6210\u540e\uff0c\u9875\u9762\u9700\u8981\u91cd\u65b0\u52a0\u8f7d\u624d\u80fd\u66f4\u65b0\u65b0\u7684\u6807\u8bb0\u72b6\u6001\uff0c\u8fd9\u4e5f\u5c31\u5bfc\u81f4\u4e86\u9875\u9762\u4f1a\u81ea\u52a8\u5237\u65b0\u3002 \u90a3\u4e48\uff0c\u5982\u4f55\u907f\u514d\u8fd9\u4e00\u73b0\u8c61\u5462\uff1f\u4e00\u79cd\u5e38\u89c1\u7684\u65b9\u6cd5\u662f\u901a\u8fc7\u4fee\u6539Gitlab\u524d\u7aef\u4ee3\u7801\uff0c\u53bb\u6389\u9875\u9762\u5237\u65b0\u7684\u90e8\u5206\u3002\u5f53\u7136\uff0c\u7531\u4e8e\u8fd9\u662fGitlab\u7684\u6e90\u4ee3\u7801\uff0c\u4fee\u6539\u8d77\u6765\u76f8\u5bf9\u8f83\u4e3a\u56f0\u96be\uff0c\u9700\u8981\u6709\u4e00\u5b9a\u7684\u5f00\u53d1\u7ecf\u9a8c\u548c\u80fd\u529b\u3002 \u53e6\u5916\uff0c\u4e00\u4e9bGitlab\u63d2\u4ef6\u6216\u6269\u5c55\u4e5f\u63d0\u4f9b\u4e86\u907f\u514d\u8fd9\u4e00\u73b0\u8c61\u7684\u89e3\u51b3\u65b9\u6848\u3002\u5728\u4f7f\u7528\u8fd9\u4e9b\u63d2\u4ef6\u6216\u6269\u5c55\u65f6\uff0c\u7528\u6237\u4e0d\u9700\u8981\u4fee\u6539Gitlab\u7684\u6e90\u4ee3\u7801\uff0c\u53ea\u9700\u8981\u7b80\u5355\u5730\u5b89\u88c5\u548c\u914d\u7f6e\u5373\u53ef\u3002\u4f8b\u5982\uff0c\u6709\u4e9b\u6d4f\u89c8\u5668\u6269\u5c55\u53ef\u4ee5\u7981\u7528Gitlab\u524d\u7aef\u4ee3\u7801\u4e2d\u5bfc\u81f4\u9875\u9762\u5237\u65b0\u7684\u90e8\u5206\uff0c\u4ece\u800c\u907f\u514d\u6807\u8bb0\u65f6\u9875\u9762\u81ea\u52a8\u5237\u65b0\u7684\u73b0\u8c61\u3002 \u6b64\u5916\uff0c\u8003\u8651\u5230Gitlab\u5f00\u6e90\u7684\u7279\u70b9\uff0c\u5982\u679c\u7528\u6237\u5e0c\u671b\u5bf9\u8fd9\u4e00\u95ee\u9898\u8fdb\u884c\u66f4\u6df1\u5165\u7684\u63a2\u8ba8\u548c\u89e3\u51b3\uff0c\u4ed6\u4eec\u8fd8\u53ef\u4ee5\u53c2\u8003Gitlab\u793e\u533a\u4e2d\u5176\u4ed6\u7528\u6237\u7684\u89e3\u51b3\u65b9\u6848\u6216\u63d0\u4ea4\u81ea\u5df1\u7684\u4ee3\u7801\u8d21\u732e\uff0c\u4ece\u800c\u4e3aGitlab\u7684\u53d1\u5c55\u505a\u51fa\u4e00\u4efd\u8d21\u732e\u3002 \u7efc\u4e0a\u6240\u8ff0\uff0c\u5f53\u5728Gitlab\u4e0a\u8fdb\u884c\u6807\u8bb0\u64cd\u4f5c\u65f6\uff0c\u9875\u9762\u4f1a\u81ea\u52a8\u5237\u65b0\u7684\u95ee\u9898\u53ef\u4ee5\u901a\u8fc7\u524d\u7aef\u6280\u672f\u5b9e\u73b0\u7684\u539f\u7406\u6765\u89e3\u91ca\u3002\u4e3a\u4e86\u907f\u514d\u8fd9\u4e00\u73b0\u8c61\uff0c\u7528\u6237\u53ef\u4ee5\u4fee\u6539Gitlab\u7684\u524d\u7aef\u4ee3\u7801\uff0c\u6216\u8005\u4f7f\u7528\u4e00\u4e9b\u63d2\u4ef6\u6216\u6269\u5c55\u6765\u89e3\u51b3\u3002\u5f53\u7136\uff0c\u4e3a\u4e86\u66f4\u597d\u5730\u652f\u6301\u5f00\u6e90\u793e\u533a\u548c\u63d0\u5347\u81ea\u5df1\u7684\u6280\u672f\u80fd\u529b\uff0c\u7528\u6237\u4e5f\u53ef\u4ee5\u79ef\u6781\u53c2\u4e0eGitlab\u793e\u533a\u4e2d\u7684\u8ba8\u8bba\u548c\u4ee3\u7801\u8d21\u732e\u5de5\u4f5c\u3002 \u4ee5\u4e0a\u5c31\u662fGitlab\u70b9mark\u4e3a\u4ec0\u4e48\u5237\u65b0\u9875\u9762\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-20189","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20189","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=20189"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20189\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}