Skip to content

Instantly share code, notes, and snippets.

zewelor

Block or report user

Report or block zewelor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@zewelor
zewelor / pre-commit.rspec.rb
Created May 30, 2012 — forked from sebthemonster/pre-commit.rspec.rb
pre-commit git hook, runs rspec if branch is master
View pre-commit.rspec.rb
#!/usr/bin/env ruby
# pre-commit git hook
# will run rspec if and only if current branch is master
# script adapted from http://book.git-scm.com/5_git_hooks.html
# source : https://gist.github.com/1141992
ENV['GIT_DIR'] = nil
You can’t perform that action at this time.