Hacker News new | past | comments | ask | show | jobs | submit login

You just ran a script that scattered production / sensitive information in your source files. You definitely don't want to get that into history and get the last head state back.. Yes, you can delete the working tree and check out head again, but than again, git reset --hard pretty much does that and it's welcome at times.



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

Search: