{"id":127424,"date":"2020-01-21T07:59:22","date_gmt":"2020-01-20T23:59:22","guid":{"rendered":"http:\/\/4563.org\/?p=127424"},"modified":"2020-01-21T07:59:22","modified_gmt":"2020-01-20T23:59:22","slug":"idea-intellij-pycharm-%e7%9a%84-vcs-local-history-%e5%8f%af%e4%bb%a5%e8%ae%be%e7%bd%ae%e5%8e%86%e5%8f%b2%e7%89%88%e6%9c%ac%e7%9a%84%e6%95%b0%e9%87%8f%e5%90%97","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=127424","title":{"rendered":"idea intellij\/pycharm \u7684 VCS-&gt;Local History \u53ef\u4ee5\u8bbe\u7f6e\u5386\u53f2\u7248\u672c\u7684\u6570\u91cf\u5417?"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  idea intellij\/pycharm \u7684 VCS-&gt;Local History \u53ef\u4ee5\u8bbe\u7f6e\u5386\u53f2\u7248\u672c\u7684\u6570\u91cf\u5417?               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jin7 <\/span>  <span><i><\/i> 6<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>idea intellij\/pycharm \u7684 VCS-&gt;Local History \u53ef\u4ee5\u8bbe\u7f6e\u5386\u53f2\u7248\u672c\u7684\u6570\u91cf\u5417?<\/p>\n<p>\u60f3\u8ba9\u4fdd\u5b58\u7684\u5386\u53f2\u7248\u672c\u6570\u91cf\u5c3d\u91cf\u591a\u4e00\u70b9.<\/p>\n<p>\u61d2\u5f97\u65f6\u4e0d\u65f6 git add,commit<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>1<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"2116301\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : jin7 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/www.jetbrains.com\/help\/idea\/local-history.html<\/p>\n<p>Change the retention period of Local History<\/p>\n<p>Press Ctrl+Shift+A or choose Help | Find Action from the main menu.<\/p>\n<p>Find and open the Registry editor.<\/p>\n<p>Modify the value of the localHistory.daysToKeep parameter.<\/p>\n<p>Click Close and restart IntelliJ IDEA for the changes to take effect.<\/p>\n<p>Alternatively, you can pass the localHistory.daysToKeep parameter as a Java property by configuring JVM options. For example, to set retention to 30 days, add the following line to the JVM options file:<\/p>\n<p>-DlocalHistory.daysToKeep=30                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>idea intellij\/pyc&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\/127424"}],"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=127424"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/127424\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=127424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=127424"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=127424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}