force push
マジクソバージョンはこちら→ http://qiita.com/amoO_O/items/141f6fd7ca499575bfd2
git push する前に rubocop と rspec を自動で行う。
.git/hooks/pre-push
# !/bin/bash
bundle exec rubocop
cop=$?
bundle exec rspec spec
pec=$?
exit $(($cop || $pec))
Go to list of users who liked
More than 5 years have passed since last update.
force push
マジクソバージョンはこちら→ http://qiita.com/amoO_O/items/141f6fd7ca499575bfd2
git push する前に rubocop と rspec を自動で行う。
# !/bin/bash
bundle exec rubocop
cop=$?
bundle exec rspec spec
pec=$?
exit $(($cop || $pec))
Register as a new user and use Qiita more conveniently
Go to list of users who liked