Skip to content

Instantly share code, notes, and snippets.


Freek Wielstra fwielstra

View GitHub Profile
fwielstra / pre-push
Last active May 6, 2021 — forked from strootman/pre-push
A pre-push git hook which runs a gradle test task
View pre-push
# this hook is in SCM so that it can be shared
# to install it, create a symbolic link in the projects .git/hooks folder
# i.e. - from the .git/hooks directory, run
# $ ln -s ../../git-hooks/ pre-commit
# to skip the tests, run with the --no-verify argument
# i.e. - $ 'git commit --no-verify'