logoalt Hacker News

rstuart4133yesterday at 9:55 PM0 repliesview on HN

`git reset --hard` destroys uncommitted changes. There is no git command to recover those files. JJ has a similar command of course, but it saves the files to a hidden commit before changing them.