Can you stop automatic commits?

Does anyone use a pre-commit script to stop the commit spam?