Skip to content

Instantly share code, notes, and snippets.

@nsams
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nsams/03edc0c673a5f4e9bb87 to your computer and use it in GitHub Desktop.
Save nsams/03edc0c673a5f4e9bb87 to your computer and use it in GitHub Desktop.
Install pre commit hook
#zuerst im template den pre-commit hook eintragen (für neue+geklonte repos)
sudo ln -s $HOME/www/library/kwfscripts/pre-commit /usr/share/git-core/templates/hooks/pre-commit
#dann mit diesem script für alle bestehenden auch den verwenden:
cd ~/www
./library/kwfscripts/vivid/install-pre-commit-hook.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment