This local history has saved my bacon on occasion. E.g. when I went too long without committing and something silly overwrote the file I was working on. Or because I did something silly with git. Then it is nice that there is still an independent backup elsewhere with different failure modes.
This local history has saved my bacon on occasion. E.g. when I went too long without committing and something silly overwrote the file I was working on. Or because I did something silly with git. Then it is nice that there is still an independent backup elsewhere with different failure modes.
Like a branch on the server?
That would still be in git. The local history in IntelliJ works independently of any VCS.
Also I’ve had formatters botch files including changes I hadn’t committed yet. For that the local edit history is also useful.
Or add it to git? What's wrong with git?