Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


The whole point is that sometimes I or the build system performs an action that it cannot reverse. This happens in between commits as I’m not in the habit of committing after every few keystrokes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: