After I change to a new PC and install new Android Studio 3.4.1, I find the VCS-Local History is much shorter than before in my old PC. Now it keeps about only one month history. Before, it kept much longer for many months. How to fix this? Thanks in advance!
I've tried the solution in this post and it doesn't work. Intellij idea - how to show more revisions in VCS history?
One of my friends tells me this method:
In Android Studio, menu Help, click Find Action. Then input "registry" and find the item "localHistory.daysToKeep". Modify it to "180" (days, you can change the number for your demand). After that, it can record history for many months now.
For more information https://www.jetbrains.com/help/idea/local-history.html