Skip to content

Instantly share code, notes, and snippets.


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 / 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
# source :
ENV['GIT_DIR'] = nil
You can’t perform that action at this time.