In the context of Software Configuration Management (SCM), a pre-commit hook is a command run just before a commit is performed.