News for hackers. Stuff that matters.
Re:Tell HN: Github has dozens of public s3 passwords by igorgue on Wednesday August 04, 2010 @09:22AM (#1574410)
Yeah, this is a typical mistake, I've pushed Django's secret keys and even twitter credentials.

PS: I do it all the time on my private repos but I try to not do it on the public ones.

Re:Tell HN: Github has dozens of public s3 passwords by ulf on Wednesday August 04, 2010 @09:31AM (#1574433)
In case of django there is a nice workaround in using a non-git localsettings.py file.

Just put "from localsettings import *" in your settings-file, and keep all deployment-specific settings in the localsettings-file