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

To be fair, seeing .bak or .config or private key files, etc. accidentally pushed to github is not exactly uncommon.


.config sure, but .bak? That's what revision control software is for! :D


People can still add them accidentally to the repository unless they have configured properly .gitignore/.hgignore/... By the way GitHub has a repository of .gitignore files for various tools and languages [1].

[1]: https://github.com/github/gitignore




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

Search: