Skip to content

Instantly share code, notes, and snippets.

View wontaeyang's full-sized avatar
😬

Wontae Yang wontaeyang

😬
View GitHub Profile
# Git pre-commit hook to check all staged Ruby (*.rb/haml/coffee) files
# for Pry binding references
#
# Installation
#
# ln -s /path/to/pre-commit.sh /path/to/project/.git/hooks/pre-commit
#
# Based on
#
# http://codeinthehole.com/writing/tips-for-using-a-git-pre-commit-hook/