jin7
V2EX  ›  问与答

idea intellij/pycharm 的 VCS->Local History 可以设置历史版本的数量吗?

  •  
  •   jin7 · Jun 17, 2020 · 1496 views
    This topic created in 2362 days ago, the information mentioned may be changed or developed.

    idea intellij/pycharm 的 VCS->Local History 可以设置历史版本的数量吗?

    想让保存的历史版本数量尽量多一点.

    懒得时不时 git add,commit

    1 replies  •  2020-06-17 23:34:37 +08:00
    jin7
    jin7
    OP
    Jun 17, 2020
    1
    https://www.jetbrains.com/help/idea/local-history.html

    Change the retention period of Local History

    Press Ctrl+Shift+A or choose Help | Find Action from the main menu.

    Find and open the Registry editor.

    Modify the value of the localHistory.daysToKeep parameter.

    Click Close and restart IntelliJ IDEA for the changes to take effect.

    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:

    -DlocalHistory.daysToKeep=30
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   937 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 22:04 · PVG 06:04 · LAX 14:04 · JFK 17:04
    ♥ Do have faith in what you're doing.