News for hackers. Stuff that matters.
Re:How to undo almost anything with Git by akerl_ on Monday June 08, 2015 @04:49PM (#9682283)
https://help.github.com/articles/remove-sensitive-data/

That said, as the article points out, you need to consider them compromised once they've been pushed and rotate the creds.

Re:How to undo almost anything with Git by pimlottc on Monday June 08, 2015 @05:18PM (#9682507)
To add to this, this is not just good paranoid practice. Don't just think you're safe because you fixed it 5 minutes later and probably no one noticed. There are sites that monitor the global github commit feed looking for things like AWS credentials and SSH keys. If it's been pushed to a public github repo for even a moment, it's been grabbed.
Re:How to undo almost anything with Git by scott_karana on Monday June 08, 2015 @05:58PM (#9682739)
Even slightly more obscure things, like the config file for Sublime SFTP (`sftp-config.json`) have been personally observed as a target of crawling.
Re:How to undo almost anything with Git by seanp2k2 on Monday June 08, 2015 @10:20PM (#9683726)
It's still useful to know how to use e.g. BFG for e.g. Situations where you push a password to private git / GH :)