News for hackers. Stuff that matters.
Re:Dura is a background process that watches your Git reposi... by matsemann on Monday January 03, 2022 @04:02PM (#29786834)
I use the local history in Jetbrains/IntelliJ/PyCharm all the time. Can use it on a current file, or even mark a folder if you accidentally deleted something.

It annotates the checkpoints with metadata as well. Like "this is how the file looked when you ran a test that failed".

Re:Dura is a background process that watches your Git reposi... by pjerem on Monday January 03, 2022 @04:14PM (#29787012)
Clearly, my JetBrains IDEs paid themselves multiple times by saving me from « oh shit » situations. Best investment my employer did without never knowing it :D
Re:Dura is a background process that watches your Git reposi... by TimTheTinker on Monday January 03, 2022 @10:06PM (#29790793)
I just checked, it looks like there is a VSCode plugin that does this: https://marketplace.visualstudio.com/items?itemName=xyz.loca...

Repo here: https://github.com/zabel-xyz/local-history

Doesn't appear to mark checkpoints with metadata, though (test failed/passed, etc.).

Re:Dura is a background process that watches your Git reposi... by sa46 on Monday January 03, 2022 @04:41PM (#29787338)
Local history saves my bacon about once a month. It's incredibly helpful as it lets me adopt a fearless refactoring approach knowing that I can always get back.