git hookでpush前に何かをしかける
.git/hooks/pre-pushを作成
#!/bin/bash bundle exec rake spec if $? -eq 1 ; then exit 1 fi exit 0
chmod a+x .git/hooks/pre-push
.git/hooks/pre-pushを作成
#!/bin/bash bundle exec rake spec if $? -eq 1 ; then exit 1 fi exit 0
chmod a+x .git/hooks/pre-push