Skip to content

Instantly share code, notes, and snippets.

View kuzmik's full-sized avatar
🐱

nick kuzmik kuzmik

🐱
View GitHub Profile
@kuzmik
kuzmik / git-pre-push-hook-install.sh
Last active March 29, 2018 18:03 — forked from johnhamelink/git-pre-push-hook-install.sh
Run `rake` before push. Because reasons.
cd /path/to/your/repo
curl https://gist.githubusercontent.com/kuzmik/c08864648e4721f96a2a3050384ee030/raw/dad37f43037e44af991c81e65c9a739669d0556a/pre-push.sh > .git/hooks/pre-push
chmod u+x .git/hooks/pre-push