{"id":153251,"date":"2020-09-09T05:22:00","date_gmt":"2020-09-08T21:22:00","guid":{"rendered":"http:\/\/4563.org\/?p=153251"},"modified":"2020-09-09T05:22:00","modified_gmt":"2020-09-08T21:22:00","slug":"%e6%80%8e%e4%b9%88%e6%9f%a5%e7%9c%8b%e6%9f%90%e4%b8%aa%e7%94%a8%e6%88%b7%e7%9a%84%e6%89%80%e6%9c%89%e4%bf%ae%e6%94%b9%ef%bc%8c%e8%a6%81%e7%9c%8b-commit-%e5%90%88%e5%b9%b6%e5%90%8e%e7%9a%84%e4%bf%ae","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=153251","title":{"rendered":"\u600e\u4e48\u67e5\u770b\u67d0\u4e2a\u7528\u6237\u7684\u6240\u6709\u4fee\u6539\uff0c\u8981\u770b commit \u5408\u5e76\u540e\u7684\u4fee\u6539\uff0c\u4e0d\u662f\u770b\u6bcf\u6b21 commit"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u600e\u4e48\u67e5\u770b\u67d0\u4e2a\u7528\u6237\u7684\u6240\u6709\u4fee\u6539\uff0c\u8981\u770b commit \u5408\u5e76\u540e\u7684\u4fee\u6539\uff0c\u4e0d\u662f\u770b\u6bcf\u6b21 commit               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : muziling <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6bd4\u5982\u7528\u6237\u5728\u5206\u652f\u4e0a\u603b\u5171\u6709 8 \u6b21\u63d0\u4ea4\uff0c\u6539\u4e86\u6587\u4ef6 1 \u5230\u6587\u4ef6 10 \u5171 10 \u4e2a\u6587\u4ef6\u3002 \u901a\u8fc7 git log author \u53ef\u4ee5\u67e5\u8be2\u5230\u8fd9 8 \u6b21\u63d0\u4ea4\uff0c\u80fd\u628a\u8fd9 8 \u6b21\u63d0\u4ea4\uff08\u4e2d\u95f4\u6709\u5176\u5b83\u7528\u6237\u7684\u63d0\u4ea4\uff09\u5408\u5e76\u6210\u4e00\u4e2a\u63d0\u4ea4\u5417\uff0c\u8981\u600e\u4e48\u64cd\u4f5c\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>11<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3219199\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : airfling <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             git compare version \u57fa\u4e8e\u54ea\u6b21\u63d0\u4ea4\u8fdb\u884c\u5bf9\u6bd4                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3219200\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : MegrezZhu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             git cherry-pick?                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3219201\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kevanbin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             git rebase -i [hash] ?                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3219202\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jindeq <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @kevanbin \u8fd9\u4e2a\u53ea\u80fd\u5728\u6574\u4e2a\u6811\u4e0a\u64cd\u4f5c\u5427\uff0c\u4ed6\u7684\u610f\u601d\u662f\u9488\u5bf9\u5177\u4f53\u7528\u6237                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3219203\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jindeq <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8c8c\u4f3c\u8fd8\u6ca1\u6709\u9047\u5230\u8fc7\u8fd9\u79cd\u60c5\u51b5\uff0c\u611f\u89c9\u53ef\u884c\u7684\u65b9\u5f0f\u5c31\u662f\u5408\u5e76 commit \u7136\u540e\u6bd4\u8f83\u4e86\uff0c\u5982\u679c\u63d0\u4ea4\u592a\u591a\u8fd9\u5e94\u8be5\u4e5f\u4e0d\u592a\u53ef\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3219204\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Ingo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5207\u4e00\u4e2a\u65b0\u5206\u652f\uff0c\u7136\u540e rebase -i master \u4ea4\u4e92\u5f0f\u53d8\u57fa\uff0c\u628a\u522b\u4eba\u7684 commit \u4e22\u5f03\u3002\u7136\u540e\u8fd9\u4e2a\u65b0\u5206\u652f\u5c31\u53ea\u5305\u542b\u8fd9 8 \u6b21 commit                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3219205\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : goofansu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             git squash                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3219206\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : VDimos <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             git rebase -i                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3219207\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zouri <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u540c\u4e0a\uff0c\u53d8\u57fa                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3219208\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : soulmt <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             git log -p?                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3219209\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pangleon <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             git cherry-pick \u652f\u6301 PICK \u8303\u56f4\uff0c\u8fd9\u662f\u4e00\u822c\u7528\u6cd5\uff0c\u8fd8\u53ef\u4ee5\u5728 PICK \u524d REBASE \u5408\u5e76\u4e00\u4e0b COMMIT \u518d PICK<br \/>\u95ee\u9898\u633a\u597d\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u600e\u4e48\u67e5\u770b\u67d0\u4e2a\u7528\u6237\u7684\u6240\u6709\u4fee\u6539\uff0c\u8981\u770b &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/153251"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=153251"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/153251\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=153251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=153251"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=153251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}