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

`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.


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

Search: