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

Your changes are almost certainly in the op log, even as just bare snapshot operations. Have you been able to search that and recover them?

(i've found jj undo quite robust, i'd be surprised if you ever actually lost work tbh)



If this happened with Git I feel confident enough to recover my work. I'm not familiar enough with jj, so usually when this happens I've used VS Code's timeline feature to recover my work.


`jj op` has `log` to show you the op log, `show`/`diff` which work like their non-op versions, and `jj op restore` which is sorta like `git reset --hard HEAD@{whatever}` but for your whole repo state




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: