{"id":1705,"date":"2023-03-25T11:48:30","date_gmt":"2023-03-25T03:48:30","guid":{"rendered":""},"modified":"2023-03-25T11:48:30","modified_gmt":"2023-03-25T03:48:30","slug":"GitLab \u53c2\u8003\u95ee\u9898","status":"publish","type":"post","link":"https:\/\/bianchenghao6.com\/1705.html","title":{"rendered":"GitLab \u53c2\u8003\u95ee\u9898"},"content":{"rendered":"


\n <\/head>
\n <\/p>\n

\n

GitLab \u53c2\u8003\u95ee\u9898<\/h1>\n<\/p><\/div>\n
\n GitLab \u53ef\u4ee5\u4ece\u63d0\u4ea4\u6d88\u606f\u4e2d\u5f15\u7528\u7279\u5b9a\u95ee\u9898\u6765\u89e3\u51b3\u7279\u5b9a\u95ee\u9898\u3002\u5728\u672c\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u8ba8\u8bba\u5982\u4f55\u5728 GitLab \u4e2d\u5f15\u7528\u95ee\u9898-\n <\/div>\n
\n \u6b65\u9aa4 1<\/b>-\u8981\u5f15\u7528\u4e00\u4e2a\u95ee\u9898\uff0c\u60a8\u9700\u8981\u6709\u4e00\u4e2a\u521b\u5efa\u95ee\u9898\u7684\u95ee\u9898\u7f16\u53f7\u3002\u8981\u521b\u5efa\u95ee\u9898\uff0c\u8bf7\u53c2\u9605\u521b\u5efa\u95ee\u9898\u4e00\u7ae0\u3002\n <\/div>\n
\n \u6b65\u9aa4 2<\/b>-\u8981\u67e5\u770b\u521b\u5efa\u7684\u95ee\u9898\uff0c\u8bf7\u5355\u51fb
\n Issues<\/i> \u9009\u9879\u5361\u4e0b\u7684
\n List<\/i> \u9009\u9879-\n <\/div>\n

GitLab \u53c2\u8003\u95ee\u9898_https:\/\/bianchenghao6.com_\u3010GitLab \u6559\u7a0b\u3011_\u7b2c1\u5f20 <\/p>\n

\n \u6b65\u9aa4 3<\/b>-\u5728\u672c\u5730\u5b58\u50a8\u5e93\u4e2d\u8fdb\u884c\u66f4\u6539\u4e4b\u524d\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5\u5b83\u662f\u5426\u662f\u6700\u65b0\u7684-\n <\/div>\n
\n
git checkout master && git pull\n<\/pre>\n

<\/code>\n <\/div>\n

GitLab \u53c2\u8003\u95ee\u9898_https:\/\/bianchenghao6.com_\u3010GitLab \u6559\u7a0b\u3011_\u7b2c2\u5f20 <\/p>\n

\n git pull<\/i> \u547d\u4ee4\u4ece\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0b\u8f7d\u6700\u65b0\u66f4\u6539\u5e76\u76f4\u63a5\u96c6\u6210\u5230\u5f53\u524d\u5de5\u4f5c\u6587\u4ef6\u4e2d\u3002\n <\/div>\n
\n \u6b65\u9aa4 4<\/b>-\u73b0\u5728\uff0c\u4f7f\u7528
\n git checkout<\/i> \u547d\u4ee4\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a
\n issue-fix<\/i> \u7684\u65b0\u5206\u652f-\n <\/div>\n
\n
git checkout-b issue-fix\n<\/pre>\n

<\/code>\n <\/div>\n

GitLab \u53c2\u8003\u95ee\u9898_https:\/\/bianchenghao6.com_\u3010GitLab \u6559\u7a0b\u3011_\u7b2c3\u5f20 <\/p>\n

\n \u6b65\u9aa4 5<\/b>-\u73b0\u5728\uff0c\u5411
\n README.md<\/i> \u6587\u4ef6\u6dfb\u52a0\u4e00\u4e9b\u5185\u5bb9\u4ee5\u4fee\u590d\u9519\u8bef-\n <\/div>\n
\n
echo \"fix this<\/span> bug\"<\/span> >> README.md\n<\/pre>\n

<\/code>\n <\/div>\n

\n \u6b65\u9aa4 6<\/b>-\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8f93\u5165\u4e0a\u8ff0\u66f4\u6539\u7684\u63d0\u4ea4\u6d88\u606f-\n <\/div>\n
\n
git commit-a\n<\/pre>\n

<\/code>\n <\/div>\n

\n \u6b64\u547d\u4ee4\u6253\u5f00\u4ee5\u4e0b\u5c4f\u5e55\u5e76\u6309\u952e\u76d8\u4e0a\u7684
\n Insert<\/i> \u952e\u4e3a
\n issue-fix<\/i> \u5206\u652f\u6dfb\u52a0\u63d0\u4ea4\u6d88\u606f\u3002\n <\/div>\n

GitLab \u53c2\u8003\u95ee\u9898_https:\/\/bianchenghao6.com_\u3010GitLab \u6559\u7a0b\u3011_\u7b2c4\u5f20 <\/p>\n

\n \u73b0\u5728\u6309
\n Esc<\/i> \u952e\uff0c\u7136\u540e\u6309\u5192\u53f7 (:) \u5e76\u8f93\u5165
\n wq<\/i> \u4ee5\u4fdd\u5b58\u5e76\u9000\u51fa\u5c4f\u5e55\u3002\n <\/div>\n
\n \u6b65\u9aa4 7<\/b>-\u73b0\u5728\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5c06\u5206\u652f\u63a8\u9001\u5230\u8fdc\u7a0b\u5b58\u50a8\u5e93-\n <\/div>\n
\n
git push origin issue-fix\n<\/pre>\n

<\/code>\n <\/div>\n

GitLab \u53c2\u8003\u95ee\u9898_https:\/\/bianchenghao6.com_\u3010GitLab \u6559\u7a0b\u3011_\u7b2c5\u5f20 <\/p>\n

\n \u7b2c 8 \u6b65<\/b>-\u767b\u5f55\u5230\u60a8\u7684 GitLab \u5e10\u6237\u5e76\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5408\u5e76\u8bf7\u6c42\u3002\u60a8\u53ef\u4ee5\u53c2\u8003\u5408\u5e76\u8bf7\u6c42\u7ae0\u8282\u6765\u521b\u5efa\u5408\u5e76\u8bf7\u6c42\u3002\n <\/div>\n
\n \u7b2c 9 \u6b65<\/b>-\u521b\u5efa\u5408\u5e76\u8bf7\u6c42\u540e\uff0c\u60a8\u5c06\u88ab\u91cd\u5b9a\u5411\u5230\u5408\u5e76\u8bf7\u6c42\u9875\u9762\u3002\u5f53\u60a8\u70b9\u51fb
\n \u5173\u95ed\u5408\u5e76\u8bf7\u6c42<\/i>\u6309\u94ae\uff08\u53c2\u8003\u5408\u5e76\u8bf7\u6c42\u7ae0\u8282\u6b65\u9aa4\uff086\uff09\u4e2d\u7684\u622a\u56fe\uff09\uff0c\u60a8\u5173\u95ed\u5408\u5e76\u8bf7\u6c42\u540e\u4f1a\u770b\u5230 Closed \u9009\u9879\u3002\n <\/div>\n

GitLab \u53c2\u8003\u95ee\u9898_https:\/\/bianchenghao6.com_\u3010GitLab \u6559\u7a0b\u3011_\u7b2c6\u5f20
\n <\/body>
\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"GitLab \u53c2\u8003\u95ee\u9898zh-cn","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[151],"tags":[],"class_list":["post-1705","post","type-post","status-publish","format-standard","hentry","category-gitlabjc"],"_links":{"self":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts\/1705"}],"collection":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/comments?post=1705"}],"version-history":[{"count":0,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/posts\/1705\/revisions"}],"wp:attachment":[{"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/media?parent=1705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/categories?post=1705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bianchenghao6.com\/wp-json\/wp\/v2\/tags?post=1705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}