Home > Enterprise >  How to change number of days to keep history in Android Studio Chipmunk
How to change number of days to keep history in Android Studio Chipmunk

Time:08-15

Accodring to this "localHistory.daysToKeep"

CodePudding user response:

The option has been moved to advanced settings: enter image description here

CodePudding user response:

Change Local History retention period

By default, Local History is configured to store revisions for the last 5 working days (that is, days when the file was modified).

In the Settings/Preferences dialog (Ctrl Alt S), go to Advanced Settings.

In the IDE section, provide the desired retention period value in the Duration of storing changes in Local History field.

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

enter image description here

source

  • Related