Re:Git tips to stop you getting fired
by gingerlime on Monday April 08, 2013 @01:40PM
(#5513181)
we're also using a small script[1] that prevents committing debug statements by mistake. We put it as a pre-commit hook and also as a standalone check on our CI. It saved us from embarrassing mistakes in production several times...
[1]http://stackoverflow.com/a/14738093/305019