Skip to content

Instantly share code, notes, and snippets.

View chrisjaure's full-sized avatar

Chris Jaure chrisjaure

  • WI
View GitHub Profile
@chrisjaure
chrisjaure / pre-commit
Created October 21, 2011 20:50
git pre-commit hook to block commits on matches of regular expressions
#!/usr/bin/env php
<?php
$unallowed = array(
);
exec('git diff --cached --', $output);