Skip to content

Instantly share code, notes, and snippets.

View ksol's full-sized avatar
🏠
Working from home, most of the time

Kevin Soltysiak ksol

🏠
Working from home, most of the time
  • Scalingo
  • Strasbourg, France
  • 04:28 (UTC +02:00)
  • X @ksol
View GitHub Profile
@alexbevi
alexbevi / pre-commit.sh
Created August 23, 2012 12:05
Git pre-commit hook that checks ruby source files for Pry breakpoints
# 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/