logoalt Hacker News

bilalqyesterday at 10:31 PM1 replyview on HN

Look into git reflog. If the changes were committed, it was almost certainly possible to still restore them, even if the commit is no longer in your branch.


Replies

ZYbCRq22HbJ2y7yesterday at 11:36 PM

There are probably other tools like this that keep version history based on filesystem events, independent from the project's git repository

https://www.jetbrains.com/help/idea/local-history.html